aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2007-11-27 01:45:55 +0800
committerade <ade@FreeBSD.org>2007-11-27 01:45:55 +0800
commita9c7d8ed52962098b4de90533996a041675d677e (patch)
tree3e3e6aab8ae32298357b6439128709de3b612401 /databases
parent46291313e8e80e4f2888defdb042cbdcd27ccd5a (diff)
downloadfreebsd-ports-gnome-a9c7d8ed52962098b4de90533996a041675d677e.tar.gz
freebsd-ports-gnome-a9c7d8ed52962098b4de90533996a041675d677e.tar.zst
freebsd-ports-gnome-a9c7d8ed52962098b4de90533996a041675d677e.zip
Unbreak pthread-related issues on 5.x
Approved by: portmgr
Diffstat (limited to 'databases')
-rw-r--r--databases/virtuoso/Makefile4
-rw-r--r--databases/virtuoso/files/patch-libsrc-Thread-thread_int.h6
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