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: Sat, 08 Sep 2018 13:34:41
Message-Id: 1536413661.033d61f705d54eb3b8c246faeec0d6be2809e84e.whissi@gentoo
1 commit: 033d61f705d54eb3b8c246faeec0d6be2809e84e
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 8 13:26:33 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 8 13:34:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033d61f7
7
8 www-client/firefox: patch ccache_stats function to avoid ccache calls
9
10 Backport of commit 41eaecf1fce33a9f8b733861105c979a2c9ccd9a.
11
12 Bug: https://bugs.gentoo.org/665420
13 Package-Manager: Portage-2.3.49, Repoman-2.3.10
14
15 www-client/firefox/firefox-60.2.0.ebuild | 7 +++++++
16 1 file changed, 7 insertions(+)
17
18 diff --git a/www-client/firefox/firefox-60.2.0.ebuild b/www-client/firefox/firefox-60.2.0.ebuild
19 index 9f2f3d4e3b2..dcc8e593f35 100644
20 --- a/www-client/firefox/firefox-60.2.0.ebuild
21 +++ b/www-client/firefox/firefox-60.2.0.ebuild
22 @@ -216,6 +216,13 @@ src_configure() {
23 # Only available on mozilla-overlay for experimentation -- Removed in Gentoo repo per bug 571180
24 #use egl && mozconfig_annotate 'Enable EGL as GL provider' --with-gl-provider=EGL
25
26 + # Disable built-in ccache support to avoid sandbox violation, #665420
27 + # Use FEATURES=ccache instead!
28 + mozconfig_annotate '' --without-ccache
29 + sed -i -e 's/ccache_stats = None/return None/' \
30 + python/mozbuild/mozbuild/controller/building.py || \
31 + die "Failed to disable ccache stats call"
32 +
33 # Setup api key for location services
34 echo -n "${_google_api_key}" > "${S}"/google-api-key
35 mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"