Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Tue, 12 Feb 2019 01:23:59
Message-Id: 1549934616.a66d8f75b61dd858beedc5f4e9db953a4737a898.whissi@gentoo
commit:     a66d8f75b61dd858beedc5f4e9db953a4737a898
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 01:06:33 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 01:23:36 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a66d8f75

www-client/firefox: backport elf-hack workaround

This commit backports commit b44217eba1c2f4a6f489def0665dcf281108ff87.

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 .../firefox/{firefox-60.5.0.ebuild => firefox-60.5.0-r1.ebuild}       | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www-client/firefox/firefox-60.5.0.ebuild b/www-client/firefox/firefox-60.5.0-r1.ebuild
similarity index 98%
rename from www-client/firefox/firefox-60.5.0.ebuild
rename to www-client/firefox/firefox-60.5.0-r1.ebuild
index 1603e3b24c9..295da318cc0 100644
--- a/www-client/firefox/firefox-60.5.0.ebuild
+++ b/www-client/firefox/firefox-60.5.0-r1.ebuild
@@ -234,6 +234,10 @@ src_configure() {
 
 	mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
 
+	# allow elfhack to work in combination with unstripped binaries
+	# when they would normally be larger than 2GiB.
+	append-ldflags "-Wl,--compress-debug-sections=zlib"
+
 	if use clang ; then
 		# https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
 		mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack