diff options
author | Dan Armak <danarmak@gentoo.org> | 2005-01-29 13:41:35 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2005-01-29 13:41:35 +0000 |
commit | c179f89f3e2b9143d1e6c2bf84bd0c62223bca30 (patch) | |
tree | bb828616ba5c7718b5388bf418869e33b4247ae5 /eclass/kde.eclass | |
parent | Fix bad digest and remove old ebuilds. (diff) | |
download | gentoo-2-c179f89f3e2b9143d1e6c2bf84bd0c62223bca30.tar.gz gentoo-2-c179f89f3e2b9143d1e6c2bf84bd0c62223bca30.tar.bz2 gentoo-2-c179f89f3e2b9143d1e6c2bf84bd0c62223bca30.zip |
temp fix for bug 78720 (broken visibility-inlines on amd64), which seds acinclude.m4.in. this only affects kde 3.4 on amd64.
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 9d436bf7a3db..ff05e6cecfe1 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.108 2005/01/18 02:42:25 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.109 2005/01/29 13:41:35 danarmak Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -53,6 +53,15 @@ kde_src_unpack() { # shorthand for removing specified subdirectories fom the build process [ -n "$KDE_REMOVE_DIR" ] && kde_remove_dir $KDE_REMOVE_DIR + # temp fix for bug #78720, until the real bug in gcc gets fixed + # briefly, -fvisibility-inlines-hidden is broken on amd64 + # this only applies to kde 3.4. the grep prevents us from removing configure unnecessarily. +# if useq amd64; then + if grep -- '-fvisibility=hidden -fvisibility-inlines-hidden' admin/acinclude.m4.in >/dev/null; then + sed -i -e 's:-fvisibility=hidden -fvisibility-inlines-hidden:-fvisibility=hidden:' admin/acinclude.m4.in + rm -f configure + fi +# fi } kde_src_compile() { |