]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- added libx32 patch (avoid -Llibdir in *-config --libs also on x32); release 3 auto/th/libxml2-2.9.4-3
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Dec 2016 18:05:09 +0000 (19:05 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Dec 2016 18:05:09 +0000 (19:05 +0100)
libxml2-libx32.patch [new file with mode: 0644]
libxml2.spec

diff --git a/libxml2-libx32.patch b/libxml2-libx32.patch
new file mode 100644 (file)
index 0000000..8ac6a61
--- /dev/null
@@ -0,0 +1,11 @@
+--- libxml2-2.9.4/xml2-config.in.orig  2016-02-09 11:17:34.000000000 +0100
++++ libxml2-2.9.4/xml2-config.in       2016-12-19 18:13:49.457475354 +0100
+@@ -84,7 +84,7 @@
+     --libs)
+         if [ "`uname`" = "Linux" ]
+       then
+-          if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" ]
++          if [ "@XML_LIBDIR@" = "-L/usr/lib" -o "@XML_LIBDIR@" = "-L/usr/lib64" -o "@XML_LIBDIR@" = "-L/usr/libx32" ]
+           then
+               echo @XML_LIBS@ @MODULE_PLATFORM_LIBS@
+           else
index cf607be3b8a5b5eed6003a94cb769b274a650abe..475d5040d56f0a9fcb9b10e7916a3a79cf03fa37 100644 (file)
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):    Biblioteka libXML wersja 2
 Summary(pt_BR.UTF-8):  Biblioteca libXML versão 2
 Name:          libxml2
 Version:       2.9.4
-Release:       2
+Release:       3
 Epoch:         1
 License:       MIT
 Group:         Libraries
@@ -28,6 +28,7 @@ Patch1:               %{name}-open.gz.patch
 Patch2:                %{name}-largefile.patch
 # https://git.gnome.org/browse/libxml2/patch/?id=3169602058bd2d04913909e869c61d1540bc7fb4
 Patch3:                %{name}-schema.patch
+Patch4:                %{name}-libx32.patch
 URL:           http://xmlsoft.org/
 BuildRequires: autoconf >= 2.68
 BuildRequires: automake >= 1.4
@@ -176,6 +177,7 @@ do biblioteki libxml2.
 %endif
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
This page took 0.057477 seconds and 4 git commands to generate.