diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-04-25 18:19:15 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-04-25 18:19:15 +0000 |
commit | 153560fe61ed3d3d1a0bed7b6b546e91355052cc (patch) | |
tree | 1fe682166d3e5dcdef49f96b4e19154092efe5f9 /chinese/ibus-libpinyin | |
parent | cf14c210f1c7914b9ac52554a9ddbf0a7989293a (diff) | |
download | ports-153560fe61ed3d3d1a0bed7b6b546e91355052cc.tar.gz ports-153560fe61ed3d3d1a0bed7b6b546e91355052cc.zip |
Notes
Diffstat (limited to 'chinese/ibus-libpinyin')
-rw-r--r-- | chinese/ibus-libpinyin/Makefile | 2 | ||||
-rw-r--r-- | chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/chinese/ibus-libpinyin/Makefile b/chinese/ibus-libpinyin/Makefile index bf3af95268a1..f46bbfc1743c 100644 --- a/chinese/ibus-libpinyin/Makefile +++ b/chinese/ibus-libpinyin/Makefile @@ -15,7 +15,7 @@ LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3 \ libibus-1.0.so:${PORTSDIR}/textproc/ibus \ libpinyin.so:${PORTSDIR}/chinese/libpinyin -USES= compiler:c++0x gmake python pkgconfig gettext +USES= compiler:c++11-lib gmake python pkgconfig gettext USE_GNOME= glib20 WRKSRC= ${WRKDIR}/${DISTNAME} diff --git a/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc b/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc new file mode 100644 index 000000000000..9fbac7843ef2 --- /dev/null +++ b/chinese/ibus-libpinyin/files/patch-src_PYLibPinyin.cc @@ -0,0 +1,11 @@ +--- src/PYLibPinyin.cc.orig 2015-01-23 04:57:48 UTC ++++ src/PYLibPinyin.cc +@@ -21,6 +21,8 @@ + + #include "PYLibPinyin.h" + ++#define _WITH_GETLINE ++#include <stdio.h> + #include <string.h> + #include <pinyin.h> + #include "PYPConfig.h" |