aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-12-23 18:48:05 +0800
committerdanfe <danfe@FreeBSD.org>2004-12-23 18:48:05 +0800
commit91a667f3d4f9624b3c5c323daaef40980e34d217 (patch)
tree93b7f67f8d5659e6ae30c426653d1271e18ddde8 /devel
parentebf111bf62667d39db03a5fefc6e81377510fd56 (diff)
downloadfreebsd-ports-gnome-91a667f3d4f9624b3c5c323daaef40980e34d217.tar.gz
freebsd-ports-gnome-91a667f3d4f9624b3c5c323daaef40980e34d217.tar.zst
freebsd-ports-gnome-91a667f3d4f9624b3c5c323daaef40980e34d217.zip
Fix build with GCC 3.4.2, and unbreak.
Diffstat (limited to 'devel')
-rw-r--r--devel/commoncpp/Makefile8
-rw-r--r--devel/commoncpp/files/patch-include_cc++_thread.h11
2 files changed, 12 insertions, 7 deletions
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index d6e8acae0a90..9246596f8c8b 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -26,10 +26,4 @@ INSTALLS_SHLIB= yes
INFO= commoncpp2
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile with gcc 3.4.2"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/commoncpp/files/patch-include_cc++_thread.h b/devel/commoncpp/files/patch-include_cc++_thread.h
new file mode 100644
index 000000000000..8b976b1ac738
--- /dev/null
+++ b/devel/commoncpp/files/patch-include_cc++_thread.h
@@ -0,0 +1,11 @@
+--- include/cc++/thread.h.orig Sat Jan 17 17:51:01 2004
++++ include/cc++/thread.h Thu Dec 23 16:38:55 2004
+@@ -914,7 +914,7 @@
+ static Thread* _main;
+
+ Thread *_parent;
+- enum Cancel _cancel;
++ Cancel _cancel;
+ Semaphore *_start;
+
+ // private data