summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/glbsp/glbsp.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/glbsp/glbsp.SlackBuild b/games/glbsp/glbsp.SlackBuild
index ee793882ac..495b5663cb 100644
--- a/games/glbsp/glbsp.SlackBuild
+++ b/games/glbsp/glbsp.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: fix build for -current (post-14.2)
# 20151126 bkw: fix build for -current (preparing for 14.2)
PRGNAM=glbsp
@@ -67,6 +68,9 @@ fi
sed -i "s/-O2/$SLKCFLAGS/" Makefile.unx
+# Fix build on gcc7
+sed -i 's,return *false,return 0,' nodeview/path.cc
+
make -f Makefile.unx
make -f Makefile.unx install \
INSTALL_PREFIX=$PKG/usr \