Bug 187198 - [PATCH] textproc/uim-qt4: Fix build on 10- and beyond.
Summary: [PATCH] textproc/uim-qt4: Fix build on 10- and beyond.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-02 16:50 UTC by Raphael Kubo da Costa
Modified: 2014-03-09 03:10 UTC (History)
1 user (show)

See Also:


Attachments
uim-1.8.5.patch (973 bytes, patch)
2014-03-02 16:50 UTC, Raphael Kubo da Costa
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-03-02 16:50:00 UTC
Add a patch I've sent upstream to fix the build when libc++ is used instead of libstdc++. This should also be merged into the 2014Q1 branch.

Port maintainer (nobutaka@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-02 16:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-09 03:07:58 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 MANTANI Nobutaka freebsd_committer freebsd_triage 2014-03-09 03:08:16 UTC
State Changed
From-To: open->closed

Committed, thanks!