summaryrefslogtreecommitdiffstats
path: root/games/sauerbraten/sauerbraten.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/sauerbraten/sauerbraten.SlackBuild')
-rw-r--r--games/sauerbraten/sauerbraten.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/sauerbraten/sauerbraten.SlackBuild b/games/sauerbraten/sauerbraten.SlackBuild
index 56eed3a1e7..ab5a2f9a9e 100644
--- a/games/sauerbraten/sauerbraten.SlackBuild
+++ b/games/sauerbraten/sauerbraten.SlackBuild
@@ -4,14 +4,15 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
# New SBo maintainer: Edward Koenig <kingbeowulf[at]gmail[dot]com>
-
+#
# Changelog
#---------------------------------------------------------------------------------------
# 1.0 26DEC2011 New SBo maintainer: Edward Koenig <kingbeowulf[at]gmail[dot]com>
+#
PRGNAM=sauerbraten
VERSION=${VERSION:-2010_07_28}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -52,6 +53,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for lost libX11.so.6
+patch -p0 -d src < $CWD/makefile_libx11_fix.patch
+
# Use custom SLKCFLAGS and remove precompiled executables.
cp bin_unix/readme.txt .
rm -f bin_unix/*