summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2005-01-29 13:41:35 +0000
committerDan Armak <danarmak@gentoo.org>2005-01-29 13:41:35 +0000
commit4d909e4950cde78913c415297e68cadf01cac475 (patch)
treef45b17a013ed573bcc8e51b8325c95f860f9e322 /eclass/kde.eclass
parentFix bad digest and remove old ebuilds. (diff)
downloadhistorical-4d909e4950cde78913c415297e68cadf01cac475.tar.gz
historical-4d909e4950cde78913c415297e68cadf01cac475.tar.bz2
historical-4d909e4950cde78913c415297e68cadf01cac475.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.eclass11
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() {