diff options
author | B. Watson <yalhcru@gmail.com> | 2017-06-21 12:23:06 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-24 08:32:52 +0700 |
commit | dc6f889ba964f16d679edccc42b36715f998fb05 (patch) | |
tree | 175b4f63aad0e35606d576a0db73d895b2d9ccc7 /games | |
parent | 9ea897dbe3ccf801650a19d85263630057f5a488 (diff) | |
download | slackbuilds-dc6f889ba964f16d679edccc42b36715f998fb05.tar.gz |
games/glbsp: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/glbsp/glbsp.SlackBuild | 4 |
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 \ |