commit b438d5e119e2f3188c1706a8a99cba54d81ed4c6
Author: Jakub Bogusz <[email protected]>
Date:   Mon Dec 19 19:05:09 2016 +0100

    - added libx32 patch (avoid -Llibdir in *-config --libs also on x32); 
release 3

 libxml2-libx32.patch | 11 +++++++++++
 libxml2.spec         |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libxml2.spec b/libxml2.spec
index cf607be..475d504 100644
--- a/libxml2.spec
+++ b/libxml2.spec
@@ -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}
diff --git a/libxml2-libx32.patch b/libxml2-libx32.patch
new file mode 100644
index 0000000..8ac6a61
--- /dev/null
+++ b/libxml2-libx32.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libxml2.git/commitdiff/b438d5e119e2f3188c1706a8a99cba54d81ed4c6

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to