diff options
Diffstat (limited to 'community/zziplib')
-rw-r--r-- | community/zziplib/PKGBUILD | 9 | ||||
-rw-r--r-- | community/zziplib/zziplib-0.13.60-ldflags.patch | 14 |
2 files changed, 19 insertions, 4 deletions
diff --git a/community/zziplib/PKGBUILD b/community/zziplib/PKGBUILD index 79fe20815..caaad5bf2 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 <ghost1227@archlinux.us> # Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com> @@ -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" |