diff --git a/libxml2-gnome-bug-561340-fix.patch b/libxml2-gnome-bug-561340-fix.patch new file mode 100644 index 0000000..5c78f1b --- /dev/null +++ b/libxml2-gnome-bug-561340-fix.patch @@ -0,0 +1,11 @@ +--- include/libxml/xmlexports.h 2009-09-25 00:00:03.511532978 +0200 ++++ include/libxml/xmlexports.h 2009-09-25 00:01:27.058533091 +0200 +@@ -115,7 +115,7 @@ + */ + #if !defined(LIBXML_STATIC) + #define XMLPUBFUN __declspec(dllexport) +- #define XMLPUBVAR __declspec(dllexport) ++ #define XMLPUBVAR __declspec(dllexport) extern + #else + #define XMLPUBFUN + #if !defined(LIBXML_STATIC) diff --git a/mingw32-libxml2.spec b/mingw32-libxml2.spec index f4ccaee..c5cd56b 100644 --- a/mingw32-libxml2.spec +++ b/mingw32-libxml2.spec @@ -22,6 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # MinGW-specific patches. Patch1000: mingw32-libxml2-2.7.2-with-modules.patch Patch1001: mingw32-libxml2-static-build-compile-fix.patch +Patch1002: libxml2-gnome-bug-561340-fix.patch BuildArch: noarch @@ -60,6 +61,7 @@ Static version of the MinGW Windows XML processing library. %patch1000 -p1 %patch1001 -p0 +%patch1002 -p0 # Patched configure.in, so rebuild configure. libtoolize --force --copy @@ -131,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Sep 25 2009 Erik van Pienbroek - 2.7.5-2 +- Added a patch to fix GNOME bug #561340 + * Thu Sep 24 2009 Erik van Pienbroek - 2.7.5-1 - Update to 2.7.5