aboutsummaryrefslogtreecommitdiff
path: root/misc/ibus-unikey/ibus-unikey.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus-unikey/ibus-unikey.SlackBuild')
-rw-r--r--misc/ibus-unikey/ibus-unikey.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/ibus-unikey/ibus-unikey.SlackBuild b/misc/ibus-unikey/ibus-unikey.SlackBuild
index 3a60cac3afa72..3e2c7cc0474bd 100644
--- a/misc/ibus-unikey/ibus-unikey.SlackBuild
+++ b/misc/ibus-unikey/ibus-unikey.SlackBuild
@@ -7,7 +7,7 @@
# Maintained by Binh Nguyen <binhvng@gmail.com> from version 0.5.1
PRGNAM=ibus-unikey
-VERSION=${VERSION:-0.5.1}
+VERSION=${VERSION:-0.6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,6 +54,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Debian patch to fix compile errors with gcc
+patch -p1 -i $CWD/gcc-6.diff
+
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \