aboutsummaryrefslogtreecommitdiff
path: root/misc
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
parent71bc425594693ce8c3f7e9a6e7701465a67a659c (diff)
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')
-rw-r--r--misc/ibus-pinyin/boost.m4.gzbin0 -> 16361 bytes
-rw-r--r--misc/ibus-pinyin/ibus-pinyin.SlackBuild7
2 files changed, 7 insertions, 0 deletions
diff --git a/misc/ibus-pinyin/boost.m4.gz b/misc/ibus-pinyin/boost.m4.gz
new file mode 100644
index 0000000000000..898bfa9125283
--- /dev/null
+++ b/misc/ibus-pinyin/boost.m4.gz
Binary files differ
diff --git a/misc/ibus-pinyin/ibus-pinyin.SlackBuild b/misc/ibus-pinyin/ibus-pinyin.SlackBuild
index 584cd8f7ecb43..0cb22413a545f 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 \