aboutsummaryrefslogtreecommitdiff
path: root/games/yar/missingincludes.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-01 09:09:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 09:13:28 +0700
commit6720f1bb30a6c415622597577235541d0e2745cc (patch)
tree2c681cb12a6e808214af3b87249c2df6ade8bc1c /games/yar/missingincludes.diff
parent31e55e02098cefc3a767e318a1c1b5c396aebbe0 (diff)
games/yar: Added (2d shooting game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/yar/missingincludes.diff')
-rw-r--r--games/yar/missingincludes.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/yar/missingincludes.diff b/games/yar/missingincludes.diff
new file mode 100644
index 0000000000000..47647c58d25e9
--- /dev/null
+++ b/games/yar/missingincludes.diff
@@ -0,0 +1,13 @@
+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)