]> git.pld-linux.org Git - packages/crossmingw32-libxml2.git/commitdiff
- updated to 2.11.1 auto/th/crossmingw32-libxml2-2.11.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 3 May 2023 20:54:06 +0000 (22:54 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 3 May 2023 20:54:06 +0000 (22:54 +0200)
crossmingw32-libxml2.spec
libxml2-largefile.patch

index c42e844f1cff0bf529954056216be2d9f160bcda..bd49bb7fde114f6c7e4503311af44df8fa3f305b 100644 (file)
@@ -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
index 4cbf71d5048253166ec7609013e010a7aa74f73e..57a32f0a66e390d0a09fb0fb287e0a873a233e5d 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.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
This page took 0.203178 seconds and 4 git commands to generate.