diff options
Diffstat (limited to 'textproc/xerces-c/patches/patch-ai')
-rw-r--r-- | textproc/xerces-c/patches/patch-ai | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/textproc/xerces-c/patches/patch-ai b/textproc/xerces-c/patches/patch-ai index c02b0f66ea9..a67eab06127 100644 --- a/textproc/xerces-c/patches/patch-ai +++ b/textproc/xerces-c/patches/patch-ai @@ -1,13 +1,23 @@ -$NetBSD: patch-ai,v 1.4 2005/12/31 00:56:42 joerg Exp $ +$NetBSD: patch-ai,v 1.5 2006/08/10 13:44:22 abs Exp $ ---- ../../tests/ThreadTest/ThreadTest.cpp.orig 2005-12-30 23:56:17.000000000 +0000 -+++ ../../tests/ThreadTest/ThreadTest.cpp -@@ -122,7 +122,7 @@ void ThreadFuncs::startThread(ThreadFunc - } +--- runConfigure.orig 2005-09-07 16:55:53.000000000 +0100 ++++ runConfigure +@@ -251,7 +251,7 @@ echo "Extra configure options: $configur + # - --#elif defined (AIX) || defined(SOLARIS) || defined(LINUX) || defined(HPUX) || defined (OS390) || defined(FREEBSD) || defined(__CYGWIN__) || defined(__QNXNTO__) -+#elif defined (AIX) || defined(SOLARIS) || defined(LINUX) || defined(HPUX) || defined (OS390) || defined(FREEBSD) || defined(__CYGWIN__) || defined(__QNXNTO__) || defined(DRAGONFLY) - #include <pthread.h> - #include <unistd.h> - #include <errno.h> + case $platform in +- aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys) ++ aix | openserver | unixware | beos | linux | freebsd | netbsd | solaris | hp-10 | hp-11 | os400 | os390 | irix | ptx | tru64 | macosx | cygwin | qnx | interix | mingw-msys | dragonfly) + # platform has been recognized + ;; + *) +@@ -334,6 +334,9 @@ else + elif test $platform = "freebsd"; then + threadingLibs="-pthread -lc_r" + threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS" ++ elif test $platform = "dragonfly"; then ++ threadingLibs="-pthread -lc_r" ++ threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS" + elif test $platform = "netbsd"; then + threadingLibs="-pthread -lpthread" + threadingDefines="-D_THREAD_SAFE -DXML_USE_PTHREADS" |