From 5d33cd62050e41613457006c5e5b25e45ec47992 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Sun, 28 Feb 2010 22:15:58 +0000 Subject: [PATCH] - updated to 2.7.6 (based on libxml2.spec) Changed files: crossmingw32-libxml2.spec -> 1.9 --- crossmingw32-libxml2.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/crossmingw32-libxml2.spec b/crossmingw32-libxml2.spec index 8be8049..bf315de 100644 --- a/crossmingw32-libxml2.spec +++ b/crossmingw32-libxml2.spec @@ -2,24 +2,26 @@ Summary: libXML library - cross Mingw32 version Summary(pl.UTF-8): Biblioteka libXML wersja 2 - wersja skrośna dla Mingw32 Name: crossmingw32-%{realname} -Version: 2.6.32 +Version: 2.7.6 Release: 1 License: MIT Group: Development/Libraries #Source0: http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/%{name}-%{version}.tar.bz2 Source0: ftp://xmlsoft.org/libxml2/%{realname}-%{version}.tar.gz -# Source0-md5: 2621d322c16f0257e30f0ff2b13384de -Patch0: %{realname}-man_fixes.patch -Patch1: %{realname}-open.gz.patch -Patch2: %{realname}-DESTDIR.patch +# Source0-md5: 7740a8ec23878a2f50120e1faa2730f2 +Patch0: %{realname}-amfix.patch +Patch1: %{realname}-man_fixes.patch +Patch2: %{realname}-open.gz.patch +#Patch3: %{realname}-largefile.patch +Patch4: %{realname}-zlib.patch URL: http://xmlsoft.org/ BuildRequires: autoconf >= 2.2 -BuildRequires: automake +BuildRequires: automake >= 1.4 BuildRequires: crossmingw32-gcc BuildRequires: crossmingw32-zlib BuildRequires: libtool >= 1:1.4.2-9 BuildRequires: sed >= 4.0 -Requires: crossmingw32-zlib +Requires: crossmingw32-zlib >= 1.2.3.3 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define no_install_post_strip 1 @@ -34,6 +36,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _dlldir /usr/share/wine/windows/system %define __cc %{target}-gcc %define __cxx %{target}-g++ +%define filterout_ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc %description This library allows you to manipulate XML files. @@ -75,6 +78,8 @@ Biblioteka DLL libxml2 dla Windows. %patch0 -p1 %patch1 -p1 %patch2 -p1 +#patch3 -p1 +%patch4 -p1 %build %{__libtoolize} -- 2.43.0