mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/glbsp: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
9ea897dbe3
commit
dc6f889ba9
1 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue