commit:     73b52951092b7c21b9f4b27a3aa8a8e78d923aea
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 01:08:11 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 01:08:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b52951

www-client/firefox: fix removal of *-LTO-Only-enable-LTO-*.patch

Patch shouldn't be applied when USE=lto is set.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-client/firefox/firefox-78.3.1.ebuild | 2 +-
 www-client/firefox/firefox-81.0.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/firefox-78.3.1.ebuild 
b/www-client/firefox/firefox-78.3.1.ebuild
index 5bb47ac3381..1b519dbf118 100644
--- a/www-client/firefox/firefox-78.3.1.ebuild
+++ b/www-client/firefox/firefox-78.3.1.ebuild
@@ -445,7 +445,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       use pgo && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+       use lto && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
        eapply "${WORKDIR}/firefox-patches"
 
        # Allow user to apply any additional patches without modifing ebuild

diff --git a/www-client/firefox/firefox-81.0.1.ebuild 
b/www-client/firefox/firefox-81.0.1.ebuild
index 51c6d764b99..bddadeb11f0 100644
--- a/www-client/firefox/firefox-81.0.1.ebuild
+++ b/www-client/firefox/firefox-81.0.1.ebuild
@@ -445,7 +445,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       use pgo && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+       use lto && rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
        eapply "${WORKDIR}/firefox-patches"
 
        # Allow user to apply any additional patches without modifing ebuild

Reply via email to