summaryrefslogtreecommitdiff
path: root/misc/ibus-pinyin/ibus-pinyin.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-31 19:35:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit8e858ff370338bcdabe42424fda3e91865336e7d (patch)
tree6a410a3dbe8ef400a8701df40c397630acf6fd82 /misc/ibus-pinyin/ibus-pinyin.SlackBuild
parent71bc425594693ce8c3f7e9a6e7701465a67a659c (diff)
downloadslackbuilds-8e858ff370338bcdabe42424fda3e91865336e7d.tar.gz
misc/ibus-pinyin: Fixed build with boost-1.59.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/ibus-pinyin/ibus-pinyin.SlackBuild')
-rw-r--r--misc/ibus-pinyin/ibus-pinyin.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/ibus-pinyin/ibus-pinyin.SlackBuild b/misc/ibus-pinyin/ibus-pinyin.SlackBuild
index 584cd8f7ec..0cb22413a5 100644
--- a/misc/ibus-pinyin/ibus-pinyin.SlackBuild
+++ b/misc/ibus-pinyin/ibus-pinyin.SlackBuild
@@ -59,6 +59,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix "configure: error: invalid value: boost_major_version="
+# wget http://github.com/tsuna/boost.m4/raw/master/build-aux/boost.m4
+zcat $CWD/boost.m4.gz > m4/boost.m4
+autoreconf -vif
+
+sed -i -e 's/ibus-1.0 >= 1.3.99/ibus-1.0 >= 1.3.9/' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \