aboutsummaryrefslogtreecommitdiff
path: root/games/supermariowar/supermariowar.SlackBuild
diff options
context:
space:
mode:
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 e5dce1fd6196..1e6ed1f61f0f 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