summaryrefslogtreecommitdiffstats
path: root/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild')
-rwxr-xr-xsource/x/fcitx5-kkc/fcitx5-kkc.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild b/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
index 072f46920..fd366ded0 100755
--- a/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
+++ b/source/x/fcitx5-kkc/fcitx5-kkc.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=fcitx5-kkc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -76,6 +76,8 @@ rm -rf fcitx5-kkc-$VERSION
tar xvf $CWD/fcitx5-kkc-$VERSION.tar.?z || exit 1
cd fcitx5-kkc-$VERSION || exit 1
+zcat $CWD/0001-remove-std-c-11-from-gui-CMakeLists.txt.patch.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \