diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-21 03:31:44 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:50 +0700 |
commit | ece77e77f3baa96a645724a31ff00e2540be86ac (patch) | |
tree | e590c402f9125aa28a10b25508d9556381e1050a /games/zoom/zoom.SlackBuild | |
parent | 7f4a537a30a10b48386af9e06e71c965af168087 (diff) | |
download | slackbuilds-ece77e77f3baa96a645724a31ff00e2540be86ac.tar.gz |
games/zoom: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/zoom/zoom.SlackBuild')
-rw-r--r-- | games/zoom/zoom.SlackBuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/games/zoom/zoom.SlackBuild b/games/zoom/zoom.SlackBuild index 081e25e65d..61e35e2e93 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 |