From 8ee4e7ab12e2fcfff6a4fe70b3f195b419df8951 Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 30 May 2020 10:28:12 +0200 Subject: [PATCH] XMLPUBVAR: patch the mingw block, not the cygwin In the patch that is now in MXE, somehow the line numbers got messed up. The result is that the XMLPUBVAR is now fixed for the cygwin case, not for mingw. This patch fixes that. It adds 'extern' to the __declspec(dllexport) definition of XMLPUBVAR. This is also what is already in upstream libxml2, including in the version that is shipped with mxe. See: https://github.com/GNOME/libxml2/commit/1eabc31401b7b8c3b5273993778f37eeef37a055 --- src/vtk-1-fixes.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vtk-1-fixes.patch b/src/vtk-1-fixes.patch index 4b481061..cbfdab03 100644 --- a/src/vtk-1-fixes.patch +++ b/src/vtk-1-fixes.patch @@ -64,7 +64,7 @@ diff --git a/ThirdParty/libxml2/vtklibxml2/include/libxml/xmlexports.h b/ThirdPa index 1111111..2222222 100644 --- a/ThirdParty/libxml2/vtklibxml2/include/libxml/xmlexports.h +++ b/ThirdParty/libxml2/vtklibxml2/include/libxml/xmlexports.h -@@ -135,7 +135,7 @@ +@@ -111,7 +111,7 @@ #undef XMLCDECL #if defined(IN_LIBXML) && !defined(LIBXML_STATIC) #define XMLPUBFUN __declspec(dllexport)