aboutsummaryrefslogtreecommitdiff
path: root/games/gtkradiant
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-09-12 15:26:52 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-09-12 15:26:52 +0000
commitd8d4744d3105a55c31b6d8c04b2f84251f1333b7 (patch)
treef23556d8182961cc1ab939546839124904e2225f /games/gtkradiant
parent8b77080918d0242431bdc02d5bbaca527cf1d34e (diff)
downloadports-d8d4744d3105a55c31b6d8c04b2f84251f1333b7.tar.gz
ports-d8d4744d3105a55c31b6d8c04b2f84251f1333b7.zip
Add a couple of missing #include <stdlib.h>'s to please contemporary Clang.
Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=327078
Diffstat (limited to 'games/gtkradiant')
-rw-r--r--games/gtkradiant/files/patch-libs__cmdlib__cmdlib.cpp10
-rw-r--r--games/gtkradiant/files/patch-radiant__select.cpp10
2 files changed, 20 insertions, 0 deletions
diff --git a/games/gtkradiant/files/patch-libs__cmdlib__cmdlib.cpp b/games/gtkradiant/files/patch-libs__cmdlib__cmdlib.cpp
new file mode 100644
index 000000000000..14063e40ff3f
--- /dev/null
+++ b/games/gtkradiant/files/patch-libs__cmdlib__cmdlib.cpp
@@ -0,0 +1,10 @@
+--- libs/cmdlib/cmdlib.cpp.orig
++++ libs/cmdlib/cmdlib.cpp
+@@ -27,6 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth
+
+ #include <string.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "string/string.h"
+ #include "os/path.h"
diff --git a/games/gtkradiant/files/patch-radiant__select.cpp b/games/gtkradiant/files/patch-radiant__select.cpp
new file mode 100644
index 000000000000..f43093f33e12
--- /dev/null
+++ b/games/gtkradiant/files/patch-radiant__select.cpp
@@ -0,0 +1,10 @@
+--- radiant/select.cpp.orig
++++ radiant/select.cpp
+@@ -28,6 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth
+ #include "iundo.h"
+
+ #include <vector>
++#include <stdlib.h>
+
+ #include "stream/stringstream.h"
+ #include "shaderlib.h"