commit:     9a200b9d7e55aaf6e33bd1721479cb2b00a8704b
Author:     Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 16:11:01 2017 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 16:11:01 2017 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=9a200b9d

www-client/firefox: Add pgo hack back for firefox-51.0b*, bug #605898

 www-client/firefox/files/firefox-48.0-pgo.patch | 12 ++++++++++++
 www-client/firefox/firefox-51.0_beta14.ebuild   |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/files/firefox-48.0-pgo.patch 
b/www-client/firefox/files/firefox-48.0-pgo.patch
new file mode 100644
index 0000000..645c008
--- /dev/null
+++ b/www-client/firefox/files/firefox-48.0-pgo.patch
@@ -0,0 +1,12 @@
+--- firefox-47.0.1/Makefile.in.orig    2016-06-01 07:11:37.000000000 +0300
++++ firefox-47.0.1/Makefile.in 2016-08-06 16:45:14.442699244 +0300
+@@ -55,6 +55,9 @@
+ endif
+ endif
+ 
++pgo-profile-run:
++      $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
++
+ ifdef JS_STANDALONE
+ .PHONY: CLOBBER
+ CLOBBER:

diff --git a/www-client/firefox/firefox-51.0_beta14.ebuild 
b/www-client/firefox/firefox-51.0_beta14.ebuild
index 911d52d..b91bd46 100644
--- a/www-client/firefox/firefox-51.0_beta14.ebuild
+++ b/www-client/firefox/firefox-51.0_beta14.ebuild
@@ -120,7 +120,8 @@ src_unpack() {
 
 src_prepare() {
        # Apply our patches
-       eapply "${WORKDIR}/firefox"
+       eapply "${WORKDIR}/firefox" \
+               "${FILESDIR}"/${PN}-48.0-pgo.patch
 
        # Enable gnomebreakpad
        if use debug ; then

Reply via email to