[packages/libxml2] up to 2.12.0

atler atler at pld-linux.org
Fri Nov 17 20:21:32 CET 2023


commit 4958e9af48b1c406688f5a83aaf81b3ef61818a9
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Nov 17 19:47:05 2023 +0100

    up to 2.12.0

 libxml2-python3-unicode-errors.patch | 4 ++--
 libxml2.spec                         | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index c610f91..d24f566 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -17,14 +17,14 @@ Summary(es.UTF-8):	Biblioteca libXML version 2
 Summary(pl.UTF-8):	Biblioteka libXML wersja 2
 Summary(pt_BR.UTF-8):	Biblioteca libXML versão 2
 Name:		libxml2
-Version:	2.11.5
+Version:	2.12.0
 Release:	1
 Epoch:		1
 License:	MIT
 Group:		Libraries
 #Source0:	ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
-Source0:	https://download.gnome.org/sources/libxml2/2.11/%{name}-%{version}.tar.xz
-# Source0-md5:	b2e7332289f5784087448a0717f45ac3
+Source0:	https://download.gnome.org/sources/libxml2/2.12/%{name}-%{version}.tar.xz
+# Source0-md5:	ebd737686c796ef7c149801a8da5f26e
 Patch0:		%{name}-open.gz.patch
 Patch1:		%{name}-largefile.patch
 Patch2:		%{name}-libx32.patch
diff --git a/libxml2-python3-unicode-errors.patch b/libxml2-python3-unicode-errors.patch
index 61cc4b6..3a64862 100644
--- a/libxml2-python3-unicode-errors.patch
+++ b/libxml2-python3-unicode-errors.patch
@@ -8,8 +8,8 @@ Index: libxml2-2.9.5/python/libxml.c
      char str[1000];
 +    unsigned char *ptr = (unsigned char *)str;
  
- #ifdef DEBUG_ERROR
-     printf("libxml_xmlErrorFuncHandler(%p, %s, ...) called\n", ctx, msg);
+     if (libxml_xmlPythonErrorFuncHandler == NULL) {
+         va_start(ap, msg);
 @@ -1636,12 +1637,20 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
  	    str[999] = 0;
          va_end(ap);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/4958e9af48b1c406688f5a83aaf81b3ef61818a9



More information about the pld-cvs-commit mailing list