summaryrefslogtreecommitdiff
path: root/waterfox/1003_gentoo_specific_pgo.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-01-17 12:54:29 +0000
committerB Stack <bgstack15@gmail.com>2019-01-17 12:54:29 +0000
commit27dbc36cc82b176404462d78ebf5dbee9883269f (patch)
tree4d41dc6b1e68b8189170712bc3152ec39dea198d /waterfox/1003_gentoo_specific_pgo.patch
parentMerge branch 'palemoon-bump' into 'master' (diff)
parentwaterfox ingest PGO fixes from chinfo (diff)
downloadstackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.tar.gz
stackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.tar.bz2
stackrpms-27dbc36cc82b176404462d78ebf5dbee9883269f.zip
Merge branch 'waterfox-bump' into 'master'
waterfox ingest PGO fixes from chinfo See merge request bgstack15/stackrpms!28
Diffstat (limited to 'waterfox/1003_gentoo_specific_pgo.patch')
-rw-r--r--waterfox/1003_gentoo_specific_pgo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/waterfox/1003_gentoo_specific_pgo.patch b/waterfox/1003_gentoo_specific_pgo.patch
new file mode 100644
index 0000000..88e4b69
--- /dev/null
+++ b/waterfox/1003_gentoo_specific_pgo.patch
@@ -0,0 +1,31 @@
+From: Daniel Rammelt <d.rammelt@icloud.com>
+
+Add missing pgo-profile-run due to tests being disabled
+
+Patch modified for newer version by Andrew A. Savchenko <bircoph@gentoo.org>
+
+https://bugs.gentoo.org/show_bug.cgi?id=499650
+
+diff --git a/Makefile.in b/Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -50,16 +50,19 @@ ifndef MOZ_PROFILE_USE
+ ifndef JS_STANDALONE
+ ifdef COMPILE_ENVIRONMENT
+ $(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
+ endif
+ endif
+ endif
+ endif
+
++pgo-profile-run:
++ $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
++
+ ifdef JS_STANDALONE
+ .PHONY: CLOBBER
+ CLOBBER:
+ else
+ CLOBBER: $(topsrcdir)/CLOBBER
+ @echo 'STOP! The CLOBBER file has changed.'
+ @echo 'Please run the build through a sanctioned build wrapper, such as'
+ @echo '"mach build" or client.mk.'
bgstack15