[packages/libxml2] up to 2.11.0

atler atler at pld-linux.org
Sat Apr 29 12:41:39 CEST 2023


commit b55c26e2087d3645adee6e6cbbd90132fd8728dd
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Apr 29 12:41:19 2023 +0200

    up to 2.11.0

 libxml2-largefile.patch              | 24 ++++++++++++------------
 libxml2-python3-unicode-errors.patch |  2 +-
 libxml2.spec                         |  8 ++++----
 3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index d35ac5c..7130948 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.10.4
+Version:	2.11.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.10/%{name}-%{version}.tar.xz
-# Source0-md5:	76808c467a58c31e2dbd511e71d5fd13
+Source0:	https://download.gnome.org/sources/libxml2/2.11/%{name}-%{version}.tar.xz
+# Source0-md5:	c01c80faedb1f9dd44fde27512a11869
 Patch0:		%{name}-open.gz.patch
 Patch1:		%{name}-largefile.patch
 Patch2:		%{name}-libx32.patch
@@ -258,7 +258,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc Copyright NEWS README.md TODO TODO_SCHEMAS
+%doc Copyright NEWS README.md
 %attr(755,root,root) %{_libdir}/libxml2.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libxml2.so.2
 %dir %{_sysconfdir}/xml
diff --git a/libxml2-largefile.patch b/libxml2-largefile.patch
index 4cbf71d..79d1c67 100644
--- a/libxml2-largefile.patch
+++ b/libxml2-largefile.patch
@@ -1,12 +1,12 @@
---- libxml2-2.7.6/libxml.h~	2009-09-24 17:31:59.000000000 +0200
-+++ libxml2-2.7.6/libxml.h	2009-10-10 18:57:55.681981813 +0200
-@@ -13,6 +13,9 @@
- #ifndef _LARGEFILE_SOURCE
- #define _LARGEFILE_SOURCE
- #endif
-+#ifndef _LARGEFILE64_SOURCE
-+#define _LARGEFILE64_SOURCE
-+#endif
- #ifndef _FILE_OFFSET_BITS
- #define _FILE_OFFSET_BITS 64
- #endif
+--- libxml2-2.11.0/libxml.h.orig	2023-04-29 12:27:04.077844048 +0200
++++ libxml2-2.11.0/libxml.h	2023-04-29 12:28:21.828831198 +0200
+@@ -17,6 +17,9 @@
+   #ifndef _LARGEFILE_SOURCE
+     #define _LARGEFILE_SOURCE
+   #endif
++  #ifndef _LARGEFILE64_SOURCE
++    #define _LARGEFILE64_SOURCE
++  #endif
+   #ifndef _FILE_OFFSET_BITS
+     #define _FILE_OFFSET_BITS 64
+   #endif
diff --git a/libxml2-python3-unicode-errors.patch b/libxml2-python3-unicode-errors.patch
index e87dcde..61cc4b6 100644
--- a/libxml2-python3-unicode-errors.patch
+++ b/libxml2-python3-unicode-errors.patch
@@ -26,7 +26,7 @@ Index: libxml2-2.9.5/python/libxml.c
 -        message = libxml_charPtrConstWrap(str);
 +        message = libxml_charPtrConstWrap(ptr);
          PyTuple_SetItem(list, 1, message);
-         result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list);
+         result = PyObject_CallObject(libxml_xmlPythonErrorFuncHandler, list);
 +        /* Forget any errors caused in the error handler. */
 +        PyErr_Clear();
          Py_XDECREF(list);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list