games/yar: Fix broken patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
62a8806940
commit
bb3e9088e5
|
@ -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)
|
Binary file not shown.
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue