summaryrefslogtreecommitdiff
path: root/games/sauerbraten/sauerbraten.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf[at]gmail[dot]com>2012-09-10 22:39:31 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 22:40:43 -0500
commitb8c90cfd057797e641def7060ee53000da8abc2d (patch)
tree214b689cf60ebff44b4b8a6034d050c34cb02774 /games/sauerbraten/sauerbraten.SlackBuild
parent52b0c31ba866948fcfb18c3a3edfe28ca4c57864 (diff)
downloadslackbuilds-b8c90cfd057797e641def7060ee53000da8abc2d.tar.gz
games/sauerbraten: Fix build wrt linking X11
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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/*