From: Jan Palus Date: Fri, 17 Nov 2023 18:47:05 +0000 (+0100) Subject: up to 2.12.0 X-Git-Tag: auto/th/libxml2-2.12.0-1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=4958e9af48b1c406688f5a83aaf81b3ef61818a9;p=packages%2Flibxml2.git up to 2.12.0 --- 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