diff options
author | rakuco <rakuco@FreeBSD.org> | 2014-10-21 04:39:43 +0800 |
---|---|---|
committer | rakuco <rakuco@FreeBSD.org> | 2014-10-21 04:39:43 +0800 |
commit | fc4d21e60d8cc78dfa1a7299d323cdd430313d41 (patch) | |
tree | a1ac4f0a78dce9307d85eede83bd63de17a42743 /deskutils/kdeplasma-addons | |
parent | f12c9bfe6d57fd719a90e01adb0237eb14af2eee (diff) | |
download | freebsd-ports-gnome-fc4d21e60d8cc78dfa1a7299d323cdd430313d41.tar.gz freebsd-ports-gnome-fc4d21e60d8cc78dfa1a7299d323cdd430313d41.tar.zst freebsd-ports-gnome-fc4d21e60d8cc78dfa1a7299d323cdd430313d41.zip |
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);
Diffstat (limited to 'deskutils/kdeplasma-addons')
-rw-r--r-- | deskutils/kdeplasma-addons/Makefile | 1 | ||||
-rw-r--r-- | deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/deskutils/kdeplasma-addons/Makefile b/deskutils/kdeplasma-addons/Makefile index 578e76ac6dd6..0afd01fb3a59 100644 --- a/deskutils/kdeplasma-addons/Makefile +++ b/deskutils/kdeplasma-addons/Makefile @@ -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} diff --git a/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp b/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp new file mode 100644 index 000000000000..f633e5a212e2 --- /dev/null +++ b/deskutils/kdeplasma-addons/files/patch-applets__kimpanel__backend__ibus__ibus15__panel.cpp @@ -0,0 +1,21 @@ +commit 3eef0383f98f8a5e99a07b5998ca035055a1db31 +Author: Raphael Kubo da Costa <rakuco@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@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> |