diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-07 02:34:06 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | 867b39f1ca7d78e2c5adb7674ad1fb70fa0a4c72 (patch) | |
tree | 79401bf05ccf30727c74054704f2fec4e229c2ec /games/xu4/xu4.SlackBuild | |
parent | 6a35a0d3b991d6bdedbe91b4d632cd97624b3540 (diff) | |
download | slackbuilds-867b39f1ca7d78e2c5adb7674ad1fb70fa0a4c72.tar.gz |
games/xu4: Update for 14.2, bump BUILD.
Diffstat (limited to 'games/xu4/xu4.SlackBuild')
-rw-r--r-- | games/xu4/xu4.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/games/xu4/xu4.SlackBuild b/games/xu4/xu4.SlackBuild index f58307f7d9..5650fd58be 100644 --- a/games/xu4/xu4.SlackBuild +++ b/games/xu4/xu4.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=xu4 VERSION=${VERSION:-20130612_svn} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,10 @@ sed -i -e "s,/usr/lib,$LIBDIR," src/u4file.cpp # Stop u4 from writing border.png in the current dir (it never *reads* it!) sed -i -e '/border\.png/s,^,//,' src/imagemgr.cpp +# The libxml2 in Slack 14.2 is pickier than the one in 14.1, and fails to +# validate the game's XML files. So: +sed -i '/#define *DEFAULT_VALIDATE_XML/s,1,0,' src/settings.h + # 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 |