aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-09-12 22:49:27 +0800
committerdanfe <danfe@FreeBSD.org>2013-09-12 22:49:27 +0800
commit45613e4294a836c0cff9442f33a459eaedbeeeb3 (patch)
treea887249a5efd64c6ae7b73761f2e0af75ed960dd /games
parent05812810ef9bd070bbb98a0d1d139000a7da33da (diff)
downloadfreebsd-ports-gnome-45613e4294a836c0cff9442f33a459eaedbeeeb3.tar.gz
freebsd-ports-gnome-45613e4294a836c0cff9442f33a459eaedbeeeb3.tar.zst
freebsd-ports-gnome-45613e4294a836c0cff9442f33a459eaedbeeeb3.zip
- Stop checking for unzip (it's unused anyways) to unbreak on 8.3-RELEASE
- Throw in a bunch of #include's to make modern Clang happy on -CURRENT Reported by: pkg-fallout
Diffstat (limited to 'games')
-rw-r--r--games/netradiant/files/patch-Makefile3
-rw-r--r--games/netradiant/files/patch-more-clang-fixes82
2 files changed, 84 insertions, 1 deletions
diff --git a/games/netradiant/files/patch-Makefile b/games/netradiant/files/patch-Makefile
index 8f5051c36066..d9810148402f 100644
--- a/games/netradiant/files/patch-Makefile
+++ b/games/netradiant/files/patch-Makefile
@@ -33,10 +33,11 @@
checkbinary binutils "$(RANLIB)"; \
checkbinary binutils "$(AR)"; \
checkbinary pkg-config "$(PKGCONFIG)"; \
- checkbinary unzip "$(UNZIPPER)"; \
+- checkbinary unzip "$(UNZIPPER)"; \
- checkbinary git-core "$(GIT)"; \
- checkbinary subversion "$(SVN)"; \
- checkbinary wget "$(WGET)"; \
++# checkbinary unzip "$(UNZIPPER)"; \
+# checkbinary git-core "$(GIT)"; \
+# checkbinary subversion "$(SVN)"; \
+# checkbinary wget "$(WGET)"; \
diff --git a/games/netradiant/files/patch-more-clang-fixes b/games/netradiant/files/patch-more-clang-fixes
new file mode 100644
index 000000000000..f17d6c450d2c
--- /dev/null
+++ b/games/netradiant/files/patch-more-clang-fixes
@@ -0,0 +1,82 @@
+--- contrib/bobtoolz/DTreePlanter.h.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/bobtoolz/DTreePlanter.h 2013-09-12 22:07:28.000000000 +0800
+@@ -20,6 +20,8 @@
+ #ifndef __DTREE_H__
+ #define __DTREE_H__
+
++#include <stdlib.h>
++
+ #include "qerplugin.h"
+ #include "signal/isignal.h"
+ #include "string/string.h"
+--- contrib/bobtoolz/dialogs/dialogs-gtk.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/bobtoolz/dialogs/dialogs-gtk.cpp 2013-09-12 22:09:01.000000000 +0800
+@@ -22,6 +22,7 @@
+
+ #include "str.h"
+ #include <list>
++#include <stdlib.h>
+ #include <gtk/gtk.h>
+ #include "gtkutil/pointer.h"
+
+--- contrib/bobtoolz/misc.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/bobtoolz/misc.cpp 2013-09-12 22:10:25.000000000 +0800
+@@ -31,7 +31,7 @@
+
+ #include "funchandlers.h"
+
+-#ifdef __linux__
++#if defined (__linux__) || defined(__FreeBSD__)
+ #include <sys/types.h>
+ #include <unistd.h>
+ #endif
+--- contrib/bobtoolz/shapes.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/bobtoolz/shapes.cpp 2013-09-12 22:20:34.000000000 +0800
+@@ -40,6 +40,7 @@
+ #include <list>
+ #include <map>
+ #include <algorithm>
++#include <stdlib.h>
+ #include <time.h>
+
+ #include "scenelib.h"
+--- contrib/bobtoolz/visfind.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/bobtoolz/visfind.cpp 2013-09-12 22:21:08.000000000 +0800
+@@ -8,6 +8,7 @@
+ #include "bsploader.h"
+
+ #include <list>
++#include <stdlib.h>
+
+ typedef struct {
+ int portalclusters;
+--- contrib/sunplug/sunplug.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/sunplug/sunplug.cpp 2013-09-12 22:24:14.000000000 +0800
+@@ -35,6 +35,7 @@
+ #include "qerplugin.h" // declaration to use other interfaces as a plugin
+
+ #include <gtk/gtk.h> // to display something with gtk (windows, buttons etc.), the whole package might not be necessary
++#include <stdlib.h>
+
+ void about_plugin_window();
+ void MapCoordinator();
+--- contrib/ufoaiplug/ufoai_level.cpp.orig 2013-06-30 22:04:35.000000000 +0800
++++ contrib/ufoaiplug/ufoai_level.cpp 2013-09-12 22:24:53.000000000 +0800
+@@ -25,6 +25,7 @@
+
+ #include "string/string.h"
+ #include <list>
++#include <stdlib.h>
+
+ class Level;
+
+--- libs/cmdlib/cmdlib.cpp.orig 2013-06-30 22:04:34.000000000 +0800
++++ libs/cmdlib/cmdlib.cpp 2013-09-12 22:22:08.000000000 +0800
+@@ -27,6 +27,7 @@
+
+ #include <string.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #include "string/string.h"
+ #include "os/path.h"