summaryrefslogtreecommitdiff
path: root/games/galaxyhack/files/patch-JSDL.cpp
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-09-20 18:24:44 +0000
committerJohn Marino <marino@FreeBSD.org>2015-09-20 18:24:44 +0000
commita54b0245264245e51c5619dae0feebf59c4a6715 (patch)
treee8df23ceb88993016fde0e988119c9708e7adb41 /games/galaxyhack/files/patch-JSDL.cpp
parentdatabases/cego: 2.25.1 -> 2.25.3 (diff)
Add <cstring> and/or <cstdlib> to 7 ports to support modern gcc
Approved by: gcc5 support blanket
Diffstat (limited to 'games/galaxyhack/files/patch-JSDL.cpp')
-rw-r--r--games/galaxyhack/files/patch-JSDL.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/galaxyhack/files/patch-JSDL.cpp b/games/galaxyhack/files/patch-JSDL.cpp
new file mode 100644
index 000000000000..bacd8c758b04
--- /dev/null
+++ b/games/galaxyhack/files/patch-JSDL.cpp
@@ -0,0 +1,10 @@
+--- JSDL.cpp.orig 2015-09-20 01:08:54 UTC
++++ JSDL.cpp
+@@ -18,6 +18,7 @@
+ #include <SDL_mixer.h>
+
+ #include <cstdlib>
++#include <cstring>
+ #include <fstream>
+ #include <stdexcept>
+