--- /usr/portage/eclass/kde.eclass 2005-02-17 16:09:44.000000000 +0100 +++ kde.eclass 2005-04-03 02:29:58.324401112 +0200 @@ -40,7 +40,6 @@ } kde_src_unpack() { - debug-print-function $FUNCNAME $* # call base_src_unpack, which implements most of the functionality and has sections, @@ -62,15 +61,12 @@ debug-print "$FUNCNAME: touching .ui files..." touch $UIFILES fi - - # temp fix for bug #78720, until the real bug in gcc gets fixed - # briefly, -fvisibility-inlines-hidden is broken on amd64 and ppc - # this only applies to kde 3.4. the grep prevents us from removing configure unnecessarily. - if useq amd64 || useq ppc; 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 + + # Visiblity stuff is way broken! Just disable it when it's present + # until upstream finds a way to have it working right. + if grep KDE_ENABLE_HIDDEN_VISIBILITY configure.in &> /dev/null; then + find ${S} -name configure.in.in | xargs sed -i -e 's:KDE_ENABLE_HIDDEN_VISIBILITY::g' + rm -f configure fi }