aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/firefox/enable-jxl.patch
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2026-02-25 14:54:31 +0000
committeremmett1 <emmett1.2miligrams@protonmail.com>2026-02-25 14:54:31 +0000
commit620df15642b6f36159b85a09603d33d85eda799a (patch)
tree9857c084fca816e301dc96466c5dae3e7859fe10 /repos/extra/firefox/enable-jxl.patch
parentccde37329338e9887cb4b6b41d5fd181442d6d55 (diff)
downloadalicelinux-620df15642b6f36159b85a09603d33d85eda799a.tar.gz
alicelinux-620df15642b6f36159b85a09603d33d85eda799a.zip
firefox: fix sandbox issue with musl
Diffstat (limited to 'repos/extra/firefox/enable-jxl.patch')
-rw-r--r--repos/extra/firefox/enable-jxl.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/repos/extra/firefox/enable-jxl.patch b/repos/extra/firefox/enable-jxl.patch
new file mode 100644
index 00000000..bc2f8654
--- /dev/null
+++ b/repos/extra/firefox/enable-jxl.patch
@@ -0,0 +1,21 @@
+diff --git a/toolkit/moz.configure b/toolkit/moz.configure
+index c99b4d628c54..0b1b1614620a 100644
+--- a/toolkit/moz.configure
++++ b/toolkit/moz.configure
+@@ -703,9 +703,10 @@ set_define("MOZ_AV1", av1)
+ option("--disable-jxl", help="Disable jxl image support")
+
+
+-@depends("--disable-jxl", milestone.is_nightly)
+-def jxl(value, is_nightly):
+- if is_nightly and value:
++@depends("--disable-jxl")
++def jxl(value):
++ enabled = bool(value)
++ if enabled:
+ return True
+
+
+--
+2.38.1
+