summaryrefslogtreecommitdiffstats
path: root/games/mars/mars.SlackBuild
diff options
context:
space:
mode:
author David Spencer <idlemoor@slackbuilds.org>2016-01-20 00:30:10 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commitd328c13a7f3b9365029dc7e2cfee118299d1556a (patch)
tree2eec8865b523cf943859c4b95e8f368fbb14ab4a /games/mars/mars.SlackBuild
parent79593e496b2c689160b3b9c2c789bb7f56b42793 (diff)
downloadslackbuilds-d328c13a7f3b9365029dc7e2cfee118299d1556a.tar.gz
slackbuilds-d328c13a7f3b9365029dc7e2cfee118299d1556a.tar.xz
games/mars: Patched to build with SFML-2.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/mars/mars.SlackBuild')
-rw-r--r--games/mars/mars.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/mars/mars.SlackBuild b/games/mars/mars.SlackBuild
index 43ca1cf4e0..52a64dbb4f 100644
--- a/games/mars/mars.SlackBuild
+++ b/games/mars/mars.SlackBuild
@@ -71,7 +71,12 @@ 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 {} \;
-patch -p1 < $CWD/mars.patch
+# Fix build with SFML-2.1
+# https://github.com/thelaui/M.A.R.S./pull/2
+patch -p1 < $CWD/pull2.patch
+# Fix build with SFML-2.3
+# https://github.com/thelaui/M.A.R.S./pull/17
+patch -p1 < $CWD/pull17.patch
mkdir -p build
cd build