commit:     41eaecf1fce33a9f8b733861105c979a2c9ccd9a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  7 23:14:07 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Sep  7 23:14:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41eaecf1

www-client/firefox: patch ccache_stats function to avoid ccache calls

Closes: https://bugs.gentoo.org/665420
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 www-client/firefox/firefox-62.0-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-client/firefox/firefox-62.0-r1.ebuild 
b/www-client/firefox/firefox-62.0-r1.ebuild
index 6f2ad021ba7..ea15529b6e8 100644
--- a/www-client/firefox/firefox-62.0-r1.ebuild
+++ b/www-client/firefox/firefox-62.0-r1.ebuild
@@ -348,6 +348,9 @@ src_configure() {
        # Disable built-in ccache support to avoid sandbox violation, #665420
        # Use FEATURES=ccache instead!
        mozconfig_annotate '' --without-ccache
+       sed -i -e 's/ccache_stats = None/return None/' \
+               python/mozbuild/mozbuild/controller/building.py || \
+               die "Failed to disable ccache stats call"
 
        mozconfig_use_enable dbus
 

Reply via email to