summaryrefslogtreecommitdiff
path: root/libxml2/libxml2-mingw.patch
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-06-05 22:39:55 +0900
committertono <tono@openoffice.org>2010-06-05 22:39:55 +0900
commita850c52babb1cf3a13fb2bc026504957dfb4b9cf (patch)
treee0f3dbe919674d4bb9f0eebcf7290dba3087d534 /libxml2/libxml2-mingw.patch
parent9c9bd762f495851613f2e23283abc23c68db76ca (diff)
parent52367d797ab764e7f83e1e8e3e6da901469505cb (diff)
mingwport30: merge with DEV300 m80
Diffstat (limited to 'libxml2/libxml2-mingw.patch')
-rw-r--r--libxml2/libxml2-mingw.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libxml2/libxml2-mingw.patch b/libxml2/libxml2-mingw.patch
new file mode 100644
index 000000000000..d160dcb70138
--- /dev/null
+++ b/libxml2/libxml2-mingw.patch
@@ -0,0 +1,24 @@
+--- misc/libxml2-2.7.6/configure 2008-01-11 17:01:56.000000000 +0900
++++ misc/build/libxml2-2.7.6/configure 2009-09-07 20:48:47.656250000 +0900
+@@ -19914,6 +19914,8 @@
+
+ if test "$with_modules" != "no" ; then
+ case "$host" in
++ *-*-mingw*)
++ ;;
+ *-*-cygwin*)
+ MODULE_EXTENSION=".dll"
+ { $as_echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
+--- 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 @@
+ #include <libxml/xmlversion.h>
+ #else
+ #include "config.h"
++#ifdef __MINGW32__
++#undef HAVE_LIBPTHREAD
++#undef HAVE_PTHREAD_H
++#endif
+ #include <libxml/xmlversion.h>
+ #endif
+