From bb3e9088e5451fc966754cf01a8fec250af613ca Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 8 Sep 2014 22:28:04 +0700 Subject: games/yar: Fix broken patch. Signed-off-by: Willy Sudiarto Raharjo --- games/yar/missingincludes.diff | 13 ------------- games/yar/missingincludes.diff.gz | Bin 0 -> 272 bytes games/yar/yar.SlackBuild | 2 +- 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 games/yar/missingincludes.diff create mode 100644 games/yar/missingincludes.diff.gz diff --git a/games/yar/missingincludes.diff b/games/yar/missingincludes.diff deleted file mode 100644 index 47647c58d2..0000000000 --- a/games/yar/missingincludes.diff +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur yar-0.99/yar/sgw.hxx yar-0.99.patched/yar/sgw.hxx ---- yar-0.99/yar/sgw.hxx 2003-10-25 04:15:47.000000000 -0400 -+++ yar-0.99.patched/yar/sgw.hxx 2014-04-29 12:03:28.000000000 -0400 -@@ -24,6 +24,9 @@ - - #include - #include -+#include -+#include -+#include - - #define DEFAULT_SCX (1024) // Default Screen Size and Depth - #define DEFAULT_SCY (768) diff --git a/games/yar/missingincludes.diff.gz b/games/yar/missingincludes.diff.gz new file mode 100644 index 0000000000..e0b2579058 Binary files /dev/null and b/games/yar/missingincludes.diff.gz differ diff --git a/games/yar/yar.SlackBuild b/games/yar/yar.SlackBuild index 010fc43a4d..814137973b 100644 --- a/games/yar/yar.SlackBuild +++ b/games/yar/yar.SlackBuild @@ -53,7 +53,7 @@ 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/missingincludes.diff +zcat $CWD/missingincludes.diff.gz | patch -p1 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3