Update to 2.8.0

epel9
Erik van Pienbroek 13 years ago
parent 7467d92e08
commit 6e3a17f7dd

1
.gitignore vendored

@ -1,2 +1,3 @@
libxml2-2.7.6.tar.gz
/libxml2-2.7.8.tar.gz
/libxml2-2.8.0.tar.gz

@ -1,22 +0,0 @@
--- a/xpath.c
+++ a/xpath.c
@@ -11763,11 +11763,16 @@ xmlXPathCompOpEvalPositionalPredicate(xmlXPathParserContextPtr ctxt,
if ((ctxt->error != XPATH_EXPRESSION_OK) || (res == -1)) {
xmlXPathObjectPtr tmp;
- /* pop the result */
+ /* pop the result if any */
tmp = valuePop(ctxt);
- xmlXPathReleaseObject(xpctxt, tmp);
- /* then pop off contextObj, which will be freed later */
- valuePop(ctxt);
+ if (tmp != contextObj) {
+ /*
+ * Free up the result
+ * then pop off contextObj, which will be freed later
+ */
+ xmlXPathReleaseObject(xpctxt, tmp);
+ valuePop(ctxt);
+ }
goto evaluation_error;
}

@ -1,11 +0,0 @@
--- 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)

@ -1,11 +1,8 @@
%?mingw_package_header
%global mingw_build_win32 1
%global mingw_build_win64 1
%{?mingw_package_header}
Name: mingw-libxml2
Version: 2.7.8
Release: 7%{?dist}
Version: 2.8.0
Release: 1%{?dist}
Summary: MinGW Windows libxml2 XML processing library
License: MIT
@ -13,16 +10,9 @@ Group: Development/Libraries
URL: http://xmlsoft.org/
Source0: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
# Not required for MinGW.
#Patch0: libxml2-multilib.patch
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 >= 95
@ -83,9 +73,7 @@ Static version of the MinGW Windows XML processing library.
%prep
%setup -q -n libxml2-%{version}
%patch2 -p1 -b .CVE-2010-4494
%patch1001 -p0
%patch1002 -p0
%build
@ -160,6 +148,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
%changelog
* Wed May 23 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.8.0-1
- Update to 2.8.0
* Sat Mar 10 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 2.7.8-7
- Added win64 support

@ -1 +1 @@
8127a65e8c3b08856093099b52599c86 libxml2-2.7.8.tar.gz
c62106f02ee00b6437f0fb9d370c1093 libxml2-2.8.0.tar.gz

Loading…
Cancel
Save