www-client/firefox: patch ccache_stats function to avoid ccache calls
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 7 Sep 2018 23:14:07 +0000 (01:14 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 7 Sep 2018 23:14:23 +0000 (01:14 +0200)
Closes: https://bugs.gentoo.org/665420
Package-Manager: Portage-2.3.49, Repoman-2.3.10

www-client/firefox/firefox-62.0-r1.ebuild

index 6f2ad021ba7d9e7d62ca862a093c44b70daf9971..ea15529b6e89a4129a7c132d738071cc101f5b3d 100644 (file)
@@ -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