[arch-commits] Commit in lib32-libxml2/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Tue Dec 15 09:51:44 UTC 2015


    Date: Tuesday, December 15, 2015 @ 10:51:43
  Author: fyan
Revision: 153368

upgpkg: lib32-libxml2 2.9.3-1

Modified:
  lib32-libxml2/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-15 09:46:05 UTC (rev 153367)
+++ PKGBUILD	2015-12-15 09:51:43 UTC (rev 153368)
@@ -4,7 +4,7 @@
 
 _pkgbasename=libxml2
 pkgname=lib32-$_pkgbasename
-pkgver=2.9.2
+pkgver=2.9.3
 pkgrel=1
 pkgdesc="XML parsing library, version 2 (32-bit)"
 arch=(x86_64)
@@ -14,7 +14,7 @@
 options=('!libtool')
 url="http://www.xmlsoft.org/"
 source=(ftp://ftp.xmlsoft.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
-md5sums=('9e6a9aca9d155737868b3dc5fd82f788')
+md5sums=('daece17e045f1c107610e137ab50c179')
 
 build() {
   export CC="gcc -m32"
@@ -24,6 +24,9 @@
   cd "${srcdir}/${_pkgbasename}-${pkgver}"
   autoreconf -fi
   ./configure --prefix=/usr --with-threads --with-history --libdir=/usr/lib32 --without-lzma
+  
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+
   make
 }
 



More information about the arch-commits mailing list