--- mozilla-firefox-2.0.0.8.ebuild.orig 2007-10-21 14:54:41.000000000 +0200 +++ mozilla-firefox-2.0.0.8.ebuild 2007-10-21 14:53:57.000000000 +0200 @@ -120,6 +120,12 @@ epatch ${FILESDIR}/mozilla-filepicker.patch fi + # workaround for debug builds on amd64 with gcc > 4.2 until upstream + # https://bugzilla.mozilla.org/show_bug.cgi?id=395871 is properly fixed + if use debug && gcc-version ge 4 2 && [[ ${ARCH} == amd64 ]]; then + epatch ${FILESDIR}/remove-pragma-with-debug.patch + fi + eautoreconf } @@ -185,7 +185,7 @@ sed -i -e \ 's|-DARON_WAS_HERE|-DGENTOO_NSPLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsplugins\\\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\\\"/usr/'"$(get_libdir)"'/nsbrowser/plugins\\\"|' \ ${S}/config/autoconf.mk \ - ${S}/xpfe/global/buildconfig.html + ${S}/toolkit/content/buildconfig.html # This removes extraneous CFLAGS from the Makefiles to reduce RAM # requirements while compiling