summaryrefslogtreecommitdiff
path: root/community/zziplib
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:23:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:23:53 -0300
commit7c6a0188a5ac63d4bb6c667c2f1bcf26792312e6 (patch)
tree706c3ba50b28eb4e1414d122b28ce69cf2c8a285 /community/zziplib
parent25828de60b05b955dc23d7226b591b416f955875 (diff)
parentd2f2d3b5c845807249680c275031f94047f9e762 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/libtextcat/PKGBUILD extra/glsof/PKGBUILD extra/orca/PKGBUILD extra/python-qt/PKGBUILD extra/python-sip/PKGBUILD extra/python2-qt/PKGBUILD extra/python2-sip/PKGBUILD extra/swfdec-mozilla/PKGBUILD extra/swfdec/PKGBUILD extra/trayer/PKGBUILD extra/xbill/PKGBUILD extra/xfce4-xfapplet-plugin/PKGBUILD
Diffstat (limited to 'community/zziplib')
-rw-r--r--community/zziplib/PKGBUILD9
-rw-r--r--community/zziplib/zziplib-0.13.60-ldflags.patch14
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"