summaryrefslogtreecommitdiff
path: root/games/crack-attack/includes.patch
diff options
context:
space:
mode:
authorfuzzix <fuzzix@fuzzix.org>2017-06-18 22:21:57 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-06-18 23:33:03 +0100
commit90b6ad0ac515f7aab6121656dfa8333b139f631b (patch)
treec05ab7e25963a7c05e6af17aba79ed84bdcbc079 /games/crack-attack/includes.patch
parent87fd3264030baae707ef5213d7a988d8fb2979fa (diff)
downloadslackbuilds-90b6ad0ac515f7aab6121656dfa8333b139f631b.tar.gz
games/crack-attack: Added (Multiplayer puzzle game).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/crack-attack/includes.patch')
-rw-r--r--games/crack-attack/includes.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/games/crack-attack/includes.patch b/games/crack-attack/includes.patch
new file mode 100644
index 0000000000..46627cb068
--- /dev/null
+++ b/games/crack-attack/includes.patch
@@ -0,0 +1,48 @@
+diff --git a/src/ActionRecorder.cxx b/src/ActionRecorder.cxx
+index f68e674..3312523 100644
+--- a/src/ActionRecorder.cxx
++++ b/src/ActionRecorder.cxx
+@@ -21,6 +21,7 @@
+ */
+
+ #include <fstream>
++#include <cstring>
+ #include "TextureLoader.h"
+
+ using namespace std;
+diff --git a/src/Attack.cxx b/src/Attack.cxx
+index 594ef83..1b58f6a 100644
+--- a/src/Attack.cxx
++++ b/src/Attack.cxx
+@@ -27,6 +27,7 @@
+ #include <cstring>
+ #include <cctype>
+ #include <sys/stat.h>
++#include <unistd.h>
+
+ #ifndef _WIN32
+ # include <pwd.h>
+diff --git a/src/Game.cxx b/src/Game.cxx
+index be77c38..a239e65 100644
+--- a/src/Game.cxx
++++ b/src/Game.cxx
+@@ -27,6 +27,7 @@
+ */
+
+ #include <GL/glut.h>
++#include <unistd.h>
+
+ #include "glext.h"
+
+diff --git a/src/TextureLoader.h b/src/TextureLoader.h
+index ae3bb8d..024fb0a 100644
+--- a/src/TextureLoader.h
++++ b/src/TextureLoader.h
+@@ -28,6 +28,7 @@
+ #define TEXTURELOADER_H
+
+ #include <GL/glut.h>
++#include <cstring>
+
+ #include "glext.h"
+ #include "sstream.h"