From 8e858ff370338bcdabe42424fda3e91865336e7d Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 31 Dec 2015 19:35:18 +0000 Subject: misc/ibus-pinyin: Fixed build with boost-1.59. Signed-off-by: David Spencer Signed-off-by: Robby Workman --- misc/ibus-pinyin/boost.m4.gz | Bin 0 -> 16361 bytes misc/ibus-pinyin/ibus-pinyin.SlackBuild | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 misc/ibus-pinyin/boost.m4.gz (limited to 'misc/ibus-pinyin') diff --git a/misc/ibus-pinyin/boost.m4.gz b/misc/ibus-pinyin/boost.m4.gz new file mode 100644 index 0000000000..898bfa9125 Binary files /dev/null and b/misc/ibus-pinyin/boost.m4.gz 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 \ -- cgit v1.2.3