diff options
author | Ade Lovett <ade@FreeBSD.org> | 2007-11-26 17:45:55 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2007-11-26 17:45:55 +0000 |
commit | ccd0fca5ecd3b7a022136828951a9543e831e4c7 (patch) | |
tree | 23a432c7392200a0485824ed28d7f75e63b88721 /databases | |
parent | Fix build on FBSD 6 and 7. (diff) |
Unbreak pthread-related issues on 5.x
Approved by: portmgr
Diffstat (limited to 'databases')
-rw-r--r-- | databases/virtuoso/Makefile | 4 | ||||
-rw-r--r-- | databases/virtuoso/files/patch-libsrc-Thread-thread_int.h | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/databases/virtuoso/Makefile b/databases/virtuoso/Makefile index dc08cfe28205..2e4e9e2edb45 100644 --- a/databases/virtuoso/Makefile +++ b/databases/virtuoso/Makefile @@ -62,10 +62,6 @@ BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat CHECK_PORT= /usr/bin/nc -z localhost $$\1 .endif -.if ${OSVERSION} < 600000 -BROKEN= Fails to compile: does not find pthread include file -.endif - .if defined(WITH_IMAGEMAGICK) CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE} LIB_DEPENDS+= Magick.10:${PORTSDIR}/graphics/ImageMagick diff --git a/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h b/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h new file mode 100644 index 000000000000..a6125468b640 --- /dev/null +++ b/databases/virtuoso/files/patch-libsrc-Thread-thread_int.h @@ -0,0 +1,6 @@ +--- libsrc/Thread/thread_int.h.orig Mon Jan 22 06:28:12 2007 ++++ libsrc/Thread/thread_int.h Sun Nov 25 10:31:20 2007 +@@ -36,2 +36,3 @@ + #include <assert.h> ++#include <pthread.h> /* For FreeBSD 5.x */ + #define _THREAD_INT_HS |