[packages/crossmingw32-libxml2] - updated to 2.11.1
qboosh
qboosh at pld-linux.org
Wed May 3 22:51:43 CEST 2023
commit ef2694863db778165653a06c30bc47753545dbc7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed May 3 22:54:06 2023 +0200
- updated to 2.11.1
crossmingw32-libxml2.spec | 10 +++++-----
libxml2-largefile.patch | 24 ++++++++++++------------
2 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/crossmingw32-libxml2.spec b/crossmingw32-libxml2.spec
index c42e844..bd49bb7 100644
--- a/crossmingw32-libxml2.spec
+++ b/crossmingw32-libxml2.spec
@@ -2,13 +2,13 @@
Summary: libXML library - cross MinGW32 version
Summary(pl.UTF-8): Biblioteka libXML wersja 2 - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
-Version: 2.10.4
+Version: 2.11.1
Release: 1
License: MIT
Group: Development/Libraries
#Source0: ftp://xmlsoft.org/libxml2/%{realname}-%{version}.tar.gz
Source0: https://download.gnome.org/sources/libxml2/2.10/%{realname}-%{version}.tar.xz
-# Source0-md5: 76808c467a58c31e2dbd511e71d5fd13
+# Source0-md5: 700bdd6a8cd0d87736a6786a36926cec
Patch0: %{realname}-open.gz.patch
Patch1: %{realname}-largefile.patch
URL: http://xmlsoft.org/
@@ -94,8 +94,8 @@ Biblioteka DLL libxml2 dla Windows.
%{__autoconf}
%{__autoheader}
%{__automake}
-# MinGW32 headers don't define this
-CPPFLAGS="%{rpmcppflags} -D_WINSOCKAPI_"
+# require at least WINXP for getaddrinfo interface
+CPPFLAGS="%{rpmcppflags} -DWINVER=0x0501"
%configure \
--target=%{target} \
--host=%{target} \
@@ -128,7 +128,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
%{_libdir}/libxml2.dll.a
%{_libdir}/libxml2.la
%{_includedir}/libxml2
diff --git a/libxml2-largefile.patch b/libxml2-largefile.patch
index 4cbf71d..57a32f0 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.1/libxml.h.orig 2023-05-03 21:08:41.659190636 +0200
++++ libxml2-2.11.1/libxml.h 2023-05-03 21:12:18.974680003 +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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-libxml2.git/commitdiff/ef2694863db778165653a06c30bc47753545dbc7
More information about the pld-cvs-commit
mailing list