Fix DTD validation

Re-added patch which was dropped in 2.7.8-1 as it is still needed
to get DTD validation working (GNOME BZ #561340, #663588)
epel9
Erik van Pienbroek 13 years ago
parent b15f1efd45
commit cf8cac1063

@ -0,0 +1,11 @@
--- include/libxml/xmlexports.h.orig 2010-10-12 08:25:32.000000000 +0200
+++ include/libxml/xmlexports.h 2012-01-06 20:12:26.553304833 +0100
@@ -115,7 +115,7 @@
*/
#if defined(IN_LIBXML) && !defined(LIBXML_STATIC)
#define XMLPUBFUN __declspec(dllexport)
- #define XMLPUBVAR __declspec(dllexport)
+ #define XMLPUBVAR __declspec(dllexport) extern
#else
#define XMLPUBFUN
#if !defined(LIBXML_STATIC)

@ -7,7 +7,7 @@
Name: mingw32-libxml2
Version: 2.7.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: MinGW Windows libxml2 XML processing library
License: MIT
@ -23,6 +23,9 @@ Patch2: libxml2-2.7.7-xpath-double-free.patch
# MinGW-specific patches.
Patch1001: mingw32-libxml2-static-build-compile-fix.patch
# Patch is needed to get DTD validation working (GNOME BZ #663588)
Patch1002: libxml2-gnome-bug-561340-fix.patch
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 52
@ -58,6 +61,7 @@ Static version of the MinGW Windows XML processing library.
%patch2 -p1 -b .CVE-2010-4494
%patch1001 -p0
%patch1002 -p0
%build
@ -125,6 +129,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jan 6 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.8-3
- Re-added patch which was dropped in 2.7.8-1 as it is still needed
to get DTD validation working (GNOME BZ #561340, #663588)
* Wed Jul 06 2011 Kalev Lember <kalevlember@gmail.com> - 2.7.8-2
- Rebuilt against win-iconv

Loading…
Cancel
Save