diff options
author | Matteo Bernardini | 2020-03-21 11:50:32 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-03-21 11:50:32 +0100 |
commit | 296746ee2c9b89a5b04f160cf22d7f9227330c05 (patch) | |
tree | 9813ea75d1309877871a37e478e166931812353e /games/xu4/xu4.SlackBuild | |
parent | f846eb1bcc13a8369ba70a1efd953b9140e56c2f (diff) | |
download | slackbuilds-296746ee2c9b89a5b04f160cf22d7f9227330c05.tar.gz |
20200321.1 global branch merge.current-20200321.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/xu4/xu4.SlackBuild')
-rw-r--r-- | games/xu4/xu4.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/games/xu4/xu4.SlackBuild b/games/xu4/xu4.SlackBuild index d4439ca2cc..08a91827bf 100644 --- a/games/xu4/xu4.SlackBuild +++ b/games/xu4/xu4.SlackBuild @@ -73,6 +73,9 @@ sed -i -e '/border\.png/s,^,//,' src/imagemgr.cpp # validate the game's XML files. So: sed -i '/#define *DEFAULT_VALIDATE_XML/s,1,0,' src/settings.h +# Patch for GCC 7 +patch -p1 < $CWD/gcc7.patch + # The -DNPERF stops u4 from creating a debug/ in the current dir. make -C src DEBUGCXXFLAGS="-DNPERF $SLKCFLAGS" prefix=/usr libdir=$PKGLIBDIR make -C src install prefix=$PKG/usr libdir=$PKGLIBDIR |