summaryrefslogtreecommitdiff
path: root/libxml2/libxml2-mingw.patch
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-06-06 20:54:55 +0900
committertono <tono@openoffice.org>2010-06-06 20:54:55 +0900
commite30d680073fa8485f1829c7f22634882bb122b87 (patch)
tree81ceb9e56335e235bf14c8fd0003b1ec209a3bd3 /libxml2/libxml2-mingw.patch
parenta850c52babb1cf3a13fb2bc026504957dfb4b9cf (diff)
i#112159: MinGW port: libxmlsec 1.2.14, libxml2 2.7.6, libxslt 1.1.26
Diffstat (limited to 'libxml2/libxml2-mingw.patch')
-rw-r--r--libxml2/libxml2-mingw.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libxml2/libxml2-mingw.patch b/libxml2/libxml2-mingw.patch
index d160dcb70138..37f48c6714ff 100644
--- a/libxml2/libxml2-mingw.patch
+++ b/libxml2/libxml2-mingw.patch
@@ -22,3 +22,14 @@
#include <libxml/xmlversion.h>
#endif
+--- misc/libxml2-2.7.6/include/libxml/xmlexports.h 2009-09-25 00:31:59.000000000 +0900
++++ misc/build/libxml2-2.7.6/include/libxml/xmlexports.h 2010-06-06 11:15:54.160750000 +0900
+@@ -113,7 +113,7 @@
+ * _imp__xmlFree listed as missing. Try to workaround the problem
+ * by also making that declaration when compiling client code.
+ */
+- #if !defined(LIBXML_STATIC)
++ #if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
+ #define XMLPUBFUN __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport)
+ #else