diff options
Diffstat (limited to 'games/bstone')
-rw-r--r-- | games/bstone/bstone.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/bstone/bstone.SlackBuild b/games/bstone/bstone.SlackBuild index 07a36fa60d..d64d16cdf4 100644 --- a/games/bstone/bstone.SlackBuild +++ b/games/bstone/bstone.SlackBuild @@ -6,6 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170621 bkw: fix build on -current + PRGNAM=bstone VERSION=${VERSION:-1.1.7} BUILD=${BUILD:-1} @@ -53,6 +55,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# fix a missing include, needed for gcc7 +sed -i '1i#include <memory>' bstone_memory_binary_reader.cpp + # look in /usr/share/games/bstone for game data files, not the # directory the executable lives in. the --data_dir option can # still override this. |