From 1164548487352b8b292bc4245c60822c0207d49d Mon Sep 17 00:00:00 2001 From: B. Watson Date: Mon, 12 Feb 2018 16:32:48 -0500 Subject: games/bastet: Fix -current build. Signed-off-by: B. Watson --- games/bastet/bastet.SlackBuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'games/bastet') 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 -- cgit v1.2.3