summaryrefslogtreecommitdiff
path: root/libxml2/libxml2-mingw.patch
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2009-12-17 13:32:53 +0000
committerCaolán McNamara <cmc@openoffice.org>2009-12-17 13:32:53 +0000
commit341ff020c7f4ed1e3a50536475ed65efcac4f0ec (patch)
tree3ae9ab8c53ed9b1375a917f8cb196e8dfc2464ca /libxml2/libxml2-mingw.patch
parent2f0d4473749af8df0e2acd611f18c9c72bb769f3 (diff)
xmlsec1_2_14: #i107747#: upgrade to latest xmlsec1, libxml2 and libxslt
Diffstat (limited to 'libxml2/libxml2-mingw.patch')
-rwxr-xr-xlibxml2/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 100755
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
+