summaryrefslogtreecommitdiffstats
path: root/games/supermariowar/supermariowar.SlackBuild
diff options
context:
space:
mode:
author David Spencer2016-01-25 00:44:02 +0100
committer Willy Sudiarto Raharjo2016-01-26 12:58:51 +0100
commitb996d855ce15548f534707471aeea4b57423a7f5 (patch)
tree92ad151702fe7a2096e5e74f13335ec3d14e183f /games/supermariowar/supermariowar.SlackBuild
parent70a05a4e1f7ace4b8a42dbb19a3411bc8f4caece (diff)
downloadslackbuilds-b996d855ce15548f534707471aeea4b57423a7f5.tar.gz
games/supermariowar: Fixed patch.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/supermariowar/supermariowar.SlackBuild')
-rw-r--r--games/supermariowar/supermariowar.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/supermariowar/supermariowar.SlackBuild b/games/supermariowar/supermariowar.SlackBuild
index e5dce1fd61..1e6ed1f61f 100644
--- a/games/supermariowar/supermariowar.SlackBuild
+++ b/games/supermariowar/supermariowar.SlackBuild
@@ -59,7 +59,8 @@ find -L . \
zcat $CWD/compilefixes.diff.gz | patch -p1
# Patch for libpng16 (-current) thanks to Arch Linux
-patch -p0 < $CWD/libpng.patch
+# (this is gzipped to preserve CRLF line endings)
+zcat $CWD/libpng.patch.gz | patch -p0
# the configure script isn't autoconf (yay), but it has CRLFs (boo)
sed -i 's,\r,,g' configure