diff options
author | danfe <danfe@FreeBSD.org> | 2013-09-12 23:26:52 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2013-09-12 23:26:52 +0800 |
commit | 018d79a63825af85e4b349c101399db92451c5ed (patch) | |
tree | f23556d8182961cc1ab939546839124904e2225f /games | |
parent | fada737300174103bff4aceb28479e7a4b94fdd5 (diff) | |
download | freebsd-ports-gnome-018d79a63825af85e4b349c101399db92451c5ed.tar.gz freebsd-ports-gnome-018d79a63825af85e4b349c101399db92451c5ed.tar.zst freebsd-ports-gnome-018d79a63825af85e4b349c101399db92451c5ed.zip |
Add a couple of missing #include <stdlib.h>'s to please contemporary Clang.
Reported by: pkg-fallout
Diffstat (limited to 'games')
-rw-r--r-- | games/gtkradiant/files/patch-libs__cmdlib__cmdlib.cpp | 10 | ||||
-rw-r--r-- | games/gtkradiant/files/patch-radiant__select.cpp | 10 |
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" |