Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2014 03:07:52 +0000 (UTC)
From:      MANTANI Nobutaka <nobutaka@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347550 - head/textproc/uim/files
Message-ID:  <201403090307.s2937qYm010520@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nobutaka
Date: Sun Mar  9 03:07:51 2014
New Revision: 347550
URL: http://svnweb.freebsd.org/changeset/ports/347550
QAT: https://qat.redports.org/buildarchive/r347550/

Log:
  Fix build error of uim-qt4 on 10-stable and beyond.
  
  PR:	ports/187198
  Submitted by:	rakuco

Added:
  head/textproc/uim/files/patch-qt4_immodule_plugin.cpp   (contents, props changed)

Added: head/textproc/uim/files/patch-qt4_immodule_plugin.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/uim/files/patch-qt4_immodule_plugin.cpp	Sun Mar  9 03:07:51 2014	(r347550)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403090307.s2937qYm010520>