1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix build with GCC 3.4.2, and unbreak.

This commit is contained in:
Alexey Dokuchaev 2004-12-23 10:48:05 +00:00
parent 00c5c75ce3
commit 602729a7e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124963
2 changed files with 12 additions and 7 deletions

View File

@ -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>

View File

@ -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