summaryrefslogtreecommitdiff
path: root/libxml2
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-06-12 19:04:29 +0900
committertono <tono@openoffice.org>2010-06-12 19:04:29 +0900
commitf49fe0bfe93b4543e0b9f0819169f474dc9ad329 (patch)
tree1a491836d7f07f94e482b5330b8f7c08f6d72b08 /libxml2
parente30d680073fa8485f1829c7f22634882bb122b87 (diff)
i#112159: MinGW port: more fix for libxml2 2.7.6 to avoid using pthreads
Diffstat (limited to 'libxml2')
-rw-r--r--libxml2/libxml2-mingw.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libxml2/libxml2-mingw.patch b/libxml2/libxml2-mingw.patch
index 37f48c6714ff..651b0c13f1bb 100644
--- a/libxml2/libxml2-mingw.patch
+++ b/libxml2/libxml2-mingw.patch
@@ -9,6 +9,19 @@
*-*-cygwin*)
MODULE_EXTENSION=".dll"
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
+@@ -20632,11 +20636,10 @@
+
+ fi
+ case $host_os in
+- *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
++ *mingw32*)
+ WITH_THREADS="1"
+ THREADS_W32="Win32"
+ THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
+- fi
+ ;;
+ *cygwin*) THREAD_LIBS=""
+ ;;
--- misc/libxml2-2.7.6/libxml.h 2007-11-23 19:47:23.000000000 +0900
+++ misc/build/libxml2-2.7.6/libxml.h 2009-07-10 14:37:34.988250000 +0900
@@ -30,6 +30,10 @@