diff options
Diffstat (limited to 'librewolf/enable-jxl.patch')
| -rw-r--r-- | librewolf/enable-jxl.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/librewolf/enable-jxl.patch b/librewolf/enable-jxl.patch new file mode 100644 index 00000000..bc2f8654 --- /dev/null +++ b/librewolf/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 + |