From 4958e9af48b1c406688f5a83aaf81b3ef61818a9 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Fri, 17 Nov 2023 19:47:05 +0100 Subject: [PATCH] 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-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); 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 -- 2.44.0