diff options
author | B. Watson <yalhcru@gmail.com> | 2018-02-12 16:32:48 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-02-24 06:55:52 +0700 |
commit | 1164548487352b8b292bc4245c60822c0207d49d (patch) | |
tree | 1feb47547698ac0f61c33defb7bf99aebf8f2f88 /games/bastet | |
parent | 030c537b274f812ecf3b09f1289aba84ce9d7e7e (diff) | |
download | slackbuilds-1164548487352b8b292bc4245c60822c0207d49d.tar.gz |
games/bastet: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/bastet')
-rw-r--r-- | games/bastet/bastet.SlackBuild | 7 |
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 |