summaryrefslogtreecommitdiffstats
path: root/devel/commoncpp
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-12-23 10:48:05 +0000
committerdanfe <danfe@FreeBSD.org>2004-12-23 10:48:05 +0000
commit91a667f3d4f9624b3c5c323daaef40980e34d217 (patch)
tree93b7f67f8d5659e6ae30c426653d1271e18ddde8 /devel/commoncpp
parentebf111bf62667d39db03a5fefc6e81377510fd56 (diff)
downloadFreeBSD-ports-91a667f3d4f9624b3c5c323daaef40980e34d217.zip
FreeBSD-ports-91a667f3d4f9624b3c5c323daaef40980e34d217.tar.gz
Fix build with GCC 3.4.2, and unbreak.
Diffstat (limited to 'devel/commoncpp')
-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 d6e8aca..9246596 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 0000000..8b976b1
--- /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
OpenPOWER on IntegriCloud