Date: Sun, 02 Mar 2014 08:49:44 -0800 (PST) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Cc: nobutaka@FreeBSD.org Subject: ports/187198: [PATCH] textproc/uim-qt4: Fix build on 10- and beyond. Message-ID: <53136128.67a6980a.aebe.ffff809d@mx.google.com> Resent-Message-ID: <201403021650.s22Go0F8044488@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187198 >Category: ports >Synopsis: [PATCH] textproc/uim-qt4: Fix build on 10- and beyond. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 02 16:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Raphael Kubo da Costa >Release: FreeBSD 11.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD orwell 11.0-CURRENT FreeBSD 11.0-CURRENT #7 r261945: Sun Feb 16 01:58:10 EET >Description: 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) >How-To-Repeat: >Fix: --- uim-1.8.5.patch begins here --- diff -ruN /usr/ports/textproc/uim/files/patch-qt4_immodule_plugin.cpp ./files/patch-qt4_immodule_plugin.cpp --- /usr/ports/textproc/uim/files/patch-qt4_immodule_plugin.cpp 1970-01-01 02:00:00.000000000 +0200 +++ ./files/patch-qt4_immodule_plugin.cpp 2014-03-02 18:38:57.000000000 +0200 @@ -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> --- uim-1.8.5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53136128.67a6980a.aebe.ffff809d>