Added a patch to fix GNOME bug #561340

epel9
epienbro 16 years ago
parent 36678e30d4
commit 004a02e881

@ -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)

@ -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 <epienbro@fedoraproject.org> - 2.7.5-2
- Added a patch to fix GNOME bug #561340
* Thu Sep 24 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.5-1
- Update to 2.7.5

Loading…
Cancel
Save