]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
up to 2.11.0 auto/th/libxml2-2.11.0-1
authorJan Palus <atler@pld-linux.org>
Sat, 29 Apr 2023 10:41:19 +0000 (12:41 +0200)
committerJan Palus <atler@pld-linux.org>
Sat, 29 Apr 2023 10:41:19 +0000 (12:41 +0200)
libxml2-largefile.patch
libxml2-python3-unicode-errors.patch
libxml2.spec

index 4cbf71d5048253166ec7609013e010a7aa74f73e..79d1c67eb2360381d4dec86db7f62c5eebf59ae8 100644 (file)
@@ -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
index e87dcdedf88ced34b3a75323d1b8c9698cc5edce..61cc4b61f729edb1112b02e30d5ce52fda3f079c 100644 (file)
@@ -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);
index d35ac5cffa0d4b94e15e337a1d907188f4f81a9b..71309482be3404767877a384a6ae4a42341ad202 100644 (file)
@@ -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
This page took 0.407682 seconds and 4 git commands to generate.