aboutsummaryrefslogtreecommitdiff
path: root/games/zoom/zoom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/zoom/zoom.SlackBuild')
-rw-r--r--games/zoom/zoom.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/games/zoom/zoom.SlackBuild b/games/zoom/zoom.SlackBuild
index 081e25e65d92..61e35e2e9387 100644
--- a/games/zoom/zoom.SlackBuild
+++ b/games/zoom/zoom.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: fix build for -current
+
PRGNAM=zoom
VERSION=${VERSION:-1.1.5}
BUILD=${BUILD:-1}
@@ -49,6 +51,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# gcc7 hates all the inline functions in interp.c.
+patch -p1 < $CWD/no_inline.diff
+
+# We don't need -funroll-loops and friends. They break the build on -current.
+patch -p1 < $CWD/remove_rice.diff
+
# Modern Xft doesn't ship a xft-config script, hack the configure script
# to use pkg-config.
patch -p1 < $CWD/config_xft.diff