summaryrefslogtreecommitdiff
path: root/games/bastet
diff options
context:
space:
mode:
Diffstat (limited to 'games/bastet')
-rw-r--r--games/bastet/bastet.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/games/bastet/bastet.SlackBuild b/games/bastet/bastet.SlackBuild
index edc99db6e5..bfc4ce54c5 100644
--- a/games/bastet/bastet.SlackBuild
+++ b/games/bastet/bastet.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180212 bkw: fix build on -current.
+
# 20170301 bkw:
# - Add script license.
# - Use long-form github URL.
@@ -71,6 +73,11 @@ sed -i 's/-ggdb//g' Makefile
# keep high-score file in a private dir
sed -i "s,/var/games,&/$PRGNAM," Config.cpp $PRGNAM.6
+# Boost API is moving target, this is needed for -current and does
+# no harm on 14.2:
+sed -i '/# *include/s,tr1/tr1/\(unordered_set\),\1.hpp,' *.hpp
+sed -i 's,std::tr1::,boost::,g' *.hpp *.cpp
+
make CXXFLAGS="$SLKCFLAGS"
# No 'make install', follow the INSTALL document more-or-less, except I