summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
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 0000000000..898bfa9125
--- /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 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 \