commit:     2ccd93e5c2a65930937759470c056aad6a22ec3c
Author:     jinqiang zhang <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Thu Mar 30 12:56:54 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 31 05:37:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ccd93e5

www-client/firefox: disable sandbox on riscv

sandbox doesn't work on RISC-V 64 platform, see
https://bugs.gentoo.org/903411#c8

Signed-off-by: jinqiang zhang <peeweep <AT> 0x0.ee>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 www-client/firefox/firefox-111.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www-client/firefox/firefox-111.0.ebuild 
b/www-client/firefox/firefox-111.0.ebuild
index 60aba92748a4..41c9dc6e3521 100644
--- a/www-client/firefox/firefox-111.0.ebuild
+++ b/www-client/firefox/firefox-111.0.ebuild
@@ -790,7 +790,8 @@ src_configure() {
        # For future keywording: This is currently (97.0) only supported on:
        # amd64, arm, arm64 & x86.
        # Might want to flip the logic around if Firefox is to support more 
arches.
-       if use ppc64; then
+       # bug 833001, bug 903411#c8
+       if use ppc64 || use riscv; then
                mozconfig_add_options_ac '' --disable-sandbox
        else
                mozconfig_add_options_ac '' --enable-sandbox

Reply via email to