aboutsummaryrefslogtreecommitdiff
path: root/games/dunelegacy/dunelegacy.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-02 23:48:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-04 07:17:54 +0700
commit3d3f1ef913b3a6e4f2ba40c1f3c887ed317fcdc7 (patch)
treedbb8dad69703cbf58d1064925a0664081fd1c6b5 /games/dunelegacy/dunelegacy.SlackBuild
parent5e441c9e53e01ad1c3420b4365147f9b9ff18015 (diff)
games/dunelegacy: Patched to support SDL2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/dunelegacy/dunelegacy.SlackBuild')
-rw-r--r--games/dunelegacy/dunelegacy.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/dunelegacy/dunelegacy.SlackBuild b/games/dunelegacy/dunelegacy.SlackBuild
index 337ce69c54d36..cb3e6c0770be0 100644
--- a/games/dunelegacy/dunelegacy.SlackBuild
+++ b/games/dunelegacy/dunelegacy.SlackBuild
@@ -12,7 +12,7 @@
PRGNAM=dunelegacy
VERSION=${VERSION:-0.96.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -60,6 +60,9 @@ find -L . \
# Use our CFLAGS. Environment is ignored by configure script.
sed -i "s/-O3/$SLKCFLAGS/" configure
+# Patched to support SDL 2.0.2
+patch -p1 < $CWD/SDL2.patch
+
./configure \
--prefix=/usr \
--bindir=/usr/games \