svn commit: r371302 - in head/deskutils/kdeplasma-addons: . files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Mon Oct 20 20:39:45 UTC 2014
Author: rakuco
Date: Mon Oct 20 20:39:43 2014
New Revision: 371302
URL: https://svnweb.freebsd.org/changeset/ports/371302
QAT: https://qat.redports.org/buildarchive/r371302/
Log:
Add upstream patch to fix the build with the IBUS option on.
Explicitly #include <locale.h> to avoid this:
/wrkdirs/usr/ports/deskutils/kdeplasma-addons/work/kdeplasma-addons-4.14.2/applets/kimpanel/backend/ibus/ibus15/panel.cpp:415:36: error: use of undeclared identifier 'LC_CTYPE'
const char* locale = setlocale(LC_CTYPE, NULL);
Added:
head/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp (contents, props changed)
Modified:
head/deskutils/kdeplasma-addons/Makefile
Modified: head/deskutils/kdeplasma-addons/Makefile
==============================================================================
--- head/deskutils/kdeplasma-addons/Makefile Mon Oct 20 20:36:39 2014 (r371301)
+++ head/deskutils/kdeplasma-addons/Makefile Mon Oct 20 20:39:43 2014 (r371302)
@@ -2,6 +2,7 @@
PORTNAME= kdeplasma-addons
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= deskutils kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
Added: head/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp Mon Oct 20 20:39:43 2014 (r371302)
@@ -0,0 +1,21 @@
+commit 3eef0383f98f8a5e99a07b5998ca035055a1db31
+Author: Raphael Kubo da Costa <rakuco at FreeBSD.org>
+Date: Mon Oct 20 23:28:06 2014 +0300
+
+ kimpanel: Include <locale.h> for LC_CTYPE.
+
+ Required after 80e34a0cb61aafb925fe38fec5532fa0f28486e9 ("complete ibus
+ 1.5 port") -- at least on FreeBSD locale.h isn't included indirectly.
+
+ CCMAIL: wengxt at gmail.com
+
+--- applets/kimpanel/backend/ibus/ibus15/panel.cpp
++++ applets/kimpanel/backend/ibus/ibus15/panel.cpp
+@@ -19,6 +19,7 @@
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#include <locale.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <ibus.h>
More information about the svn-ports-head
mailing list