diff options
author | nobutaka <nobutaka@FreeBSD.org> | 2014-03-09 11:07:51 +0800 |
---|---|---|
committer | nobutaka <nobutaka@FreeBSD.org> | 2014-03-09 11:07:51 +0800 |
commit | 64efda0beb34564fceb5d6ba10af0e68210bbbe0 (patch) | |
tree | a7a159b23243353bcdb4bf28ee28c397d79684f3 /textproc/uim | |
parent | b31180132e5d2d94edb0b7e1050e7b1ea2839416 (diff) | |
download | freebsd-ports-gnome-64efda0beb34564fceb5d6ba10af0e68210bbbe0.tar.gz freebsd-ports-gnome-64efda0beb34564fceb5d6ba10af0e68210bbbe0.tar.zst freebsd-ports-gnome-64efda0beb34564fceb5d6ba10af0e68210bbbe0.zip |
Fix build error of uim-qt4 on 10-stable and beyond.
PR: ports/187198
Submitted by: rakuco
Diffstat (limited to 'textproc/uim')
-rw-r--r-- | textproc/uim/files/patch-qt4_immodule_plugin.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/textproc/uim/files/patch-qt4_immodule_plugin.cpp b/textproc/uim/files/patch-qt4_immodule_plugin.cpp new file mode 100644 index 000000000000..79b5b551db23 --- /dev/null +++ b/textproc/uim/files/patch-qt4_immodule_plugin.cpp @@ -0,0 +1,23 @@ +commit 5900b14a2bf367203f6d417bc51b59ab5ecc2129 +Author: Raphael Kubo da Costa <rakuco@FreeBSD.org> +Date: Sun Mar 2 13:26:18 2014 +0200 + + qt4 immodule: Add missing <clocale> include. + + * qt4/immodule/plugin.cpp + - Stop relying on implicit includes that may not always work and + explicitly include <clocale> for the setlocale(3) call. + +diff --git a/qt4/immodule/plugin.cpp b/qt4/immodule/plugin.cpp +index cb5863a..be2b9f2 100644 +--- qt4/immodule/plugin.cpp ++++ qt4/immodule/plugin.cpp +@@ -34,6 +34,8 @@ + + #include "plugin.h" + ++#include <clocale> ++ + #include <QtCore/QStringList> + #ifdef Q_WS_X11 + # include <QtGui/QX11Info> |