freebsd-ports/textproc/uim/files/patch-qt4_immodule_plugin.cpp
MANTANI Nobutaka 0ee99c6851 - Fix build error when lang/mono is installed.
- Regenerate patches to pet portlint.

PR:		229674
Reported by:	Ting-Wei Lan <lantw44@gmail.com>
2018-07-12 14:42:04 +00:00

21 lines
583 B
C++

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.
--- qt4/immodule/plugin.cpp.orig 2017-08-14 00:07:27 UTC
+++ qt4/immodule/plugin.cpp
@@ -36,6 +36,8 @@
#include <clocale>
+#include <clocale>
+
#include <QtCore/QStringList>
#if QT_VERSION < 0x050000
# ifdef Q_WS_X11