aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk+3.0
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:41:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-09 11:41:06 +0000
commite7f85a27f12e56bd2717dc1e9f45d2de8bf2094d (patch)
tree6d62570ce811c9ab4d51a24c8d517907cff319c1 /main/gtk+3.0
parent0eadb546806757509009686c1c40f2a2b65f9f02 (diff)
downloadaports-e7f85a27f12e56bd2717dc1e9f45d2de8bf2094d.tar.bz2
aports-e7f85a27f12e56bd2717dc1e9f45d2de8bf2094d.tar.xz
main/gtk+3.0: fix overlinking issue
Diffstat (limited to 'main/gtk+3.0')
-rw-r--r--main/gtk+3.0/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/gtk+3.0/APKBUILD b/main/gtk+3.0/APKBUILD
index 43013e2174..765595553e 100644
--- a/main/gtk+3.0/APKBUILD
+++ b/main/gtk+3.0/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+3.0
pkgver=3.8.2
-pkgrel=0
+pkgrel=1
pkgdesc="The GTK+ Toolkit (v3)"
url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
@@ -52,6 +52,7 @@ source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.ta
_builddir="$srcdir"/gtk+-$pkgver
+
build() {
cd "$_builddir"
./configure \
@@ -66,6 +67,10 @@ build() {
# https://bugzilla.gnome.org/show_bug.cgi?id=676087
echo "#define HAVE_ISNAN 1" >> config.h
echo "#define HAVE_ISINF 1" >> config.h
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool || return 1
+
make || return 1
}