[arch-commits] Commit in libxml2/trunk (PKGBUILD shared_library_versionning.patch)

Ionut Biru ibiru at archlinux.org
Sat Nov 27 15:26:13 UTC 2010


    Date: Saturday, November 27, 2010 @ 10:26:13
  Author: ibiru
Revision: 101089

upgpkg: libxml2 2.7.8-1
update to 2.7.8

Added:
  libxml2/trunk/shared_library_versionning.patch
Modified:
  libxml2/trunk/PKGBUILD

----------------------------------+
 PKGBUILD                         |   14 +++++++++-----
 shared_library_versionning.patch |   21 +++++++++++++++++++++
 2 files changed, 30 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-27 15:24:41 UTC (rev 101088)
+++ PKGBUILD	2010-11-27 15:26:13 UTC (rev 101089)
@@ -3,8 +3,8 @@
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=libxml2
-pkgver=2.7.7
-pkgrel=2
+pkgver=2.7.8
+pkgrel=1
 pkgdesc="XML parsing library, version 2"
 arch=(i686 x86_64)
 license=('custom')
@@ -13,13 +13,16 @@
 options=('!libtool')
 url="http://www.xmlsoft.org/"
 source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
-        largefile64.patch)
-md5sums=('9abc9959823ca9ff904f1fbcf21df066'
-         '5ad4915665608ebfa5b89f7908467a72')
+        largefile64.patch shared_library_versionning.patch)
+md5sums=('8127a65e8c3b08856093099b52599c86'
+         '5ad4915665608ebfa5b89f7908467a72'
+         '84aeb7c6db023eae044e95d9211dba53')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   patch -Np1 -i "${srcdir}/largefile64.patch"
+  patch -Np1 -i "${srcdir}/shared_library_versionning.patch"
+  autoreconf -fi
   ./configure --prefix=/usr --with-threads --with-history \
      --with-python=/usr/bin/python2.7
   make
@@ -30,3 +33,4 @@
   make DESTDIR="${pkgdir}" install
   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
 }
+

Added: shared_library_versionning.patch
===================================================================
--- shared_library_versionning.patch	                        (rev 0)
+++ shared_library_versionning.patch	2010-11-27 15:26:13 UTC (rev 101089)
@@ -0,0 +1,21 @@
+From 00819877651b87842ed878898ba17dba489820f0 Mon Sep 17 00:00:00 2001
+From: Daniel Veillard <veillard at redhat.com>
+Date: Thu, 04 Nov 2010 20:53:14 +0000
+Subject: Reactivate the shared library versionning script
+
+---
+diff --git a/configure.in b/configure.in
+index 59d0629..a1d2c89 100644
+--- a/configure.in
++++ b/configure.in
+@@ -84,7 +84,7 @@ else
+   esac
+ fi
+ AC_SUBST(VERSION_SCRIPT_FLAGS)
+-AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -z "$VERSION_SCRIPT_FLAGS"])
++AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
+ 
+ dnl
+ dnl We process the AC_ARG_WITH first so that later we can modify
+--
+cgit v0.8.3.1




More information about the arch-commits mailing list