summaryrefslogtreecommitdiff
path: root/games/xgalaga++/patches/fixup_includes.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-12 23:29:39 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 23:29:39 +0200
commit0d04e5cade8c2d04385f23e49b3e72fbd954134e (patch)
treec2a15aec960737e89b73bdf9842b1f6dc5c118d3 /games/xgalaga++/patches/fixup_includes.patch
parenta7d895ffb279af211c25525831ee5dd978e6f91d (diff)
downloadslackbuilds-0d04e5cade8c2d04385f23e49b3e72fbd954134e.tar.gz
games/xgalaga++: Added to 12.2 repository
Diffstat (limited to 'games/xgalaga++/patches/fixup_includes.patch')
-rw-r--r--games/xgalaga++/patches/fixup_includes.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/games/xgalaga++/patches/fixup_includes.patch b/games/xgalaga++/patches/fixup_includes.patch
new file mode 100644
index 0000000000..97f7967d8c
--- /dev/null
+++ b/games/xgalaga++/patches/fixup_includes.patch
@@ -0,0 +1,43 @@
+diff -Naur xgalaga++-0.8.orig/config.cc xgalaga++-0.8/config.cc
+--- xgalaga++-0.8.orig/config.cc 2008-05-21 02:14:32.000000000 +0000
++++ xgalaga++-0.8/config.cc 2009-04-02 01:57:34.000000000 +0000
+@@ -4,6 +4,7 @@
+ #include <pwd.h>
+ #include <sys/types.h>
+ #include <unistd.h>
++#include <stdlib.h>
+
+
+ namespace {
+diff -Naur xgalaga++-0.8.orig/explosion.cc xgalaga++-0.8/explosion.cc
+--- xgalaga++-0.8.orig/explosion.cc 2004-03-07 04:52:37.000000000 +0000
++++ xgalaga++-0.8/explosion.cc 2009-04-02 01:24:06.000000000 +0000
+@@ -1,5 +1,6 @@
+ #include "explosion.h"
+ #include "config.h"
++#include <cstdlib>
+
+
+ /*
+diff -Naur xgalaga++-0.8.orig/gfxinterface.cc xgalaga++-0.8/gfxinterface.cc
+--- xgalaga++-0.8.orig/gfxinterface.cc 2008-05-21 02:10:31.000000000 +0000
++++ xgalaga++-0.8/gfxinterface.cc 2009-04-02 01:24:06.000000000 +0000
+@@ -3,6 +3,7 @@
+ #include <cmath>
+ #include <stdexcept>
+ #include <vector>
++#include <cstdlib>
+
+
+
+diff -Naur xgalaga++-0.8.orig/menu.cc xgalaga++-0.8/menu.cc
+--- xgalaga++-0.8.orig/menu.cc 2008-05-21 23:02:26.000000000 +0000
++++ xgalaga++-0.8/menu.cc 2009-04-02 01:24:06.000000000 +0000
+@@ -13,6 +13,7 @@
+ #include <iomanip>
+ #include <stdexcept>
+ #include <sstream>
++#include <cstring>
+
+
+ StartMenu * StartMenu::singleton_ (0);