From ece77e77f3baa96a645724a31ff00e2540be86ac Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 21 Jun 2017 03:31:44 -0400 Subject: games/zoom: Fix build for -current. Signed-off-by: B. Watson --- games/zoom/zoom.SlackBuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'games/zoom/zoom.SlackBuild') diff --git a/games/zoom/zoom.SlackBuild b/games/zoom/zoom.SlackBuild index 081e25e65d927..61e35e2e9387a 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 -- cgit v1.2.3