diff options
Diffstat (limited to 'games/yar')
-rw-r--r-- | games/yar/missingincludes.diff | 13 | ||||
-rw-r--r-- | games/yar/missingincludes.diff.gz | bin | 0 -> 272 bytes | |||
-rw-r--r-- | games/yar/yar.SlackBuild | 2 |
3 files changed, 1 insertions, 14 deletions
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 <iostream> - #include <string> -+#include <cstdio> -+#include <cstdlib> -+#include <cmath> - - #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 Binary files differnew file mode 100644 index 0000000000..e0b2579058 --- /dev/null +++ b/games/yar/missingincludes.diff.gz 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" \ |