summaryrefslogtreecommitdiff
path: root/games/doomretro/doomretro.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-02 23:58:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-04 07:17:53 +0700
commit5e441c9e53e01ad1c3420b4365147f9b9ff18015 (patch)
tree9c1fb7654206d2a472a0a21407a71c6b3eea6916 /games/doomretro/doomretro.SlackBuild
parent8aedfbd23c843a78697a22eceef2630e22246f22 (diff)
downloadslackbuilds-5e441c9e53e01ad1c3420b4365147f9b9ff18015.tar.gz
games/doomretro: 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/doomretro/doomretro.SlackBuild')
-rw-r--r--games/doomretro/doomretro.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/doomretro/doomretro.SlackBuild b/games/doomretro/doomretro.SlackBuild
index 81b3108475..a50a7a4764 100644
--- a/games/doomretro/doomretro.SlackBuild
+++ b/games/doomretro/doomretro.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=doomretro
VERSION=${VERSION:-2.5.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patched to support SDL2
+patch -p1 < $CWD/SDL2.patch
+
mkdir -p build
cd build
cmake \