From b996d855ce15548f534707471aeea4b57423a7f5 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Jan 2016 23:44:02 +0000 Subject: games/supermariowar: Fixed patch. Signed-off-by: David Spencer --- games/supermariowar/supermariowar.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'games/supermariowar/supermariowar.SlackBuild') 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 -- cgit v1.2.3