diff options
author | Matteo Bernardini | 2018-05-20 18:38:36 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-05-20 18:38:36 +0200 |
commit | a824dbc05057a7ebee9d6e389b1a9d94b2526841 (patch) | |
tree | b0a684ea03270d3921e4255b015e39dab4786073 /games/xu4/xu4.SlackBuild | |
parent | 3e13c69615265f8bb16da751be07dd649bd89c79 (diff) | |
download | old.slackbuilds-efaeab57e22bbfa5bce20eebe2f3c468bbeb9244.tar.gz |
20180520.1 global branch merge.current-20180520.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 |