diff options
author | Koop Mast <kwm@FreeBSD.org> | 2011-10-25 18:17:32 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2011-10-25 18:17:32 +0000 |
commit | 683c1e4913160cd0071e7332f2782b1d43a9ed2f (patch) | |
tree | 0eb71080a42fd89c4ae397ad497bfb90987d5212 /textproc/libxml2 | |
parent | 074491fc8e605ef3e5afe3c3340325d00c49ea79 (diff) | |
download | ports-683c1e4913160cd0071e7332f2782b1d43a9ed2f.tar.gz ports-683c1e4913160cd0071e7332f2782b1d43a9ed2f.zip |
Notes
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/files/patch-threads.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/textproc/libxml2/files/patch-threads.c b/textproc/libxml2/files/patch-threads.c deleted file mode 100644 index a1ab0b3f27ec..000000000000 --- a/textproc/libxml2/files/patch-threads.c +++ /dev/null @@ -1,22 +0,0 @@ ---- threads.c.orig 2009-11-30 12:43:34.000000000 +0100 -+++ threads.c 2009-11-30 12:44:54.000000000 +0100 -@@ -26,6 +26,7 @@ - #endif - #ifdef HAVE_PTHREAD_H - #include <pthread.h> -+#include <osreldate.h> - #elif defined HAVE_WIN32_THREADS - #include <windows.h> - #ifndef HAVE_COMPILER_TLS -@@ -46,6 +47,11 @@ - - #ifdef HAVE_PTHREAD_H - -+#if __FreeBSD_version < 700000 -+int pthread_equal() __attribute__ ((weak)); -+#define pthread_equal(a,b) ((pthread_equal) ? pthread_equal(a,b) : 1) -+#endif -+ - static int libxml_is_threaded = -1; - #ifdef __GNUC__ - #ifdef linux |