]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- added xmlcatalog-regression patch (fixes xmlcatalog command on non-default catalog... auto/th/libxml2-2.9.2-5
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 10 Jun 2015 20:15:54 +0000 (22:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 10 Jun 2015 20:15:54 +0000 (22:15 +0200)
- release 5

libxml2-xmlcatalog-regression.patch [new file with mode: 0644]
libxml2.spec

diff --git a/libxml2-xmlcatalog-regression.patch b/libxml2-xmlcatalog-regression.patch
new file mode 100644 (file)
index 0000000..f77068f
--- /dev/null
@@ -0,0 +1,26 @@
+From f65128f38289d77ff322d63aef2858cc0a819c34 Mon Sep 17 00:00:00 2001
+From: Daniel Veillard <veillard@redhat.com>
+Date: Fri, 17 Oct 2014 17:13:41 +0800
+Subject: Revert "Missing initialization for the catalog module"
+
+This reverts commit 054c716ea1bf001544127a4ab4f4346d1b9947e7.
+As this break xmlcatalog command
+https://bugzilla.redhat.com/show_bug.cgi?id=1153753
+
+diff --git a/parser.c b/parser.c
+index 1d93967..67c9dfd 100644
+--- a/parser.c
++++ b/parser.c
+@@ -14830,9 +14830,6 @@ xmlInitParser(void) {
+ #ifdef LIBXML_XPATH_ENABLED
+       xmlXPathInit();
+ #endif
+-#ifdef LIBXML_CATALOG_ENABLED
+-        xmlInitializeCatalog();
+-#endif
+       xmlParserInitialized = 1;
+ #ifdef LIBXML_THREAD_ENABLED
+     }
+-- 
+cgit v0.10.2
+
index 1868c58ee3a48a6452e81ea92609d02a1e4361df..1b629427fe16be4afdb9aedf43ff490d2f53d838 100644 (file)
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):    Biblioteka libXML wersja 2
 Summary(pt_BR.UTF-8):  Biblioteca libXML versão 2
 Name:          libxml2
 Version:       2.9.2
-Release:       4
+Release:       5
 Epoch:         1
 License:       MIT
 Group:         Libraries
@@ -26,6 +26,7 @@ Source0:      ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
 Patch0:                %{name}-man_fixes.patch
 Patch1:                %{name}-open.gz.patch
 Patch2:                %{name}-largefile.patch
+Patch3:                %{name}-xmlcatalog-regression.patch
 URL:           http://xmlsoft.org/
 BuildRequires: autoconf >= 2.68
 BuildRequires: automake >= 1.4
@@ -37,7 +38,6 @@ BuildRequires:        rpm-pythonprov
 %endif
 %if %{with python3}
 BuildRequires: python3-devel >= 1:3.2
-BuildRequires: python3-distribute
 BuildRequires: python3-modules >= 1:3.2
 BuildRequires: rpm-pythonprov
 %endif
@@ -171,6 +171,7 @@ dostęp do biblioteki libxml2.
 %patch1 -p1
 %endif
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
This page took 0.197382 seconds and 4 git commands to generate.