summaryrefslogtreecommitdiff
path: root/games/supermariowar/supermariowar.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-03 21:53:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit3526bbc2b2b14e6bb68d210ebaa2064c4078ada0 (patch)
treeaa6864e1259c891e45d5e28be1e709fb76cab285 /games/supermariowar/supermariowar.SlackBuild
parentcfe23600aa66f0de03eca388dab566551231f71b (diff)
downloadslackbuilds-3526bbc2b2b14e6bb68d210ebaa2064c4078ada0.tar.gz
games/supermariowar: Patched SlackBuild.
Fixes build failure due to libpng16 (-current). Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/supermariowar/supermariowar.SlackBuild')
-rw-r--r--games/supermariowar/supermariowar.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/supermariowar/supermariowar.SlackBuild b/games/supermariowar/supermariowar.SlackBuild
index 416831766e..e5dce1fd61 100644
--- a/games/supermariowar/supermariowar.SlackBuild
+++ b/games/supermariowar/supermariowar.SlackBuild
@@ -58,6 +58,9 @@ find -L . \
# Makefile hadn't been (so I had to parse the VC++ project file, ugh).
zcat $CWD/compilefixes.diff.gz | patch -p1
+# Patch for libpng16 (-current) thanks to Arch Linux
+patch -p0 < $CWD/libpng.patch
+
# the configure script isn't autoconf (yay), but it has CRLFs (boo)
sed -i 's,\r,,g' configure