From 886d3d0994eb8e9f3e797155619619e0ef1353f8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 8 May 2011 22:33:52 +0000 Subject: Sun May 8 22:33:51 UTC 2011 --- community/zziplib/PKGBUILD | 9 +++++---- community/zziplib/zziplib-0.13.60-ldflags.patch | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 community/zziplib/zziplib-0.13.60-ldflags.patch (limited to 'community/zziplib') diff --git a/community/zziplib/PKGBUILD b/community/zziplib/PKGBUILD index 6a00ad342..70821a8c0 100644 --- a/community/zziplib/PKGBUILD +++ b/community/zziplib/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 44844 2011-04-12 03:54:14Z ebelanger $ +# $Id: PKGBUILD 46490 2011-05-07 21:04:10Z ebelanger $ # Maintainer: # Contributor: Daniel J Griffiths # Contributor: Roman Kyrylych @@ -13,13 +13,14 @@ license=('LGPL' 'MPL') depends=('zlib') makedepends=('python2') options=('!libtool') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('54a6aa53262483a4d54f7c59f0a7258b') +source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 zziplib-0.13.60-ldflags.patch) +md5sums=('54a6aa53262483a4d54f7c59f0a7258b' + 'e585052f884525a338ca341b5d2957dc') build() { cd "${srcdir}/${pkgname}-${pkgver}" - export PYTHON=/usr/bin/python2 + patch -p1 -i ../zziplib-0.13.60-ldflags.patch ./configure --prefix=/usr make } diff --git a/community/zziplib/zziplib-0.13.60-ldflags.patch b/community/zziplib/zziplib-0.13.60-ldflags.patch new file mode 100644 index 000000000..3c95ff465 --- /dev/null +++ b/community/zziplib/zziplib-0.13.60-ldflags.patch @@ -0,0 +1,14 @@ +https://sourceforge.net/tracker/?func=detail&aid=3175466&group_id=6389&atid=306389 +https://bugs.gentoo.org/354051 + +--- a/configure ++++ b/configure +@@ -292,7 +292,7 @@ + # --------------------------------------------------------------- + AC_MSG_CHECKING([link options]) + ZZIPLIB_LDFLAGS="" +-test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="--export-dynamic" ++test ".$can_build_shared" != ".no" && ZZIPLIB_LDFLAGS="-export-dynamic" + RESOLVES=" # " + case "$host_os" in mingw*) + ZZIPLIB_LDFLAGS="-no-undefined -export-all-symbols -mconsole" -- cgit v1.2.3-54-g00ecf