aboutsummaryrefslogtreecommitdiff
path: root/repos
diff options
context:
space:
mode:
Diffstat (limited to 'repos')
-rw-r--r--repos/extra/firefox/.checksum3
-rw-r--r--repos/extra/firefox/abuild7
-rw-r--r--repos/extra/firefox/rust-1.95-iwyu.patch12
3 files changed, 19 insertions, 3 deletions
diff --git a/repos/extra/firefox/.checksum b/repos/extra/firefox/.checksum
index 584779a4..6b85ad68 100644
--- a/repos/extra/firefox/.checksum
+++ b/repos/extra/firefox/.checksum
@@ -1,5 +1,5 @@
f9405d027e062c80b3f642442a2b6fee5bfe89a506d15536558e1d1eba66668d enable-jxl.patch
-db58dce7c51828dd2a79eaf78d52dc8b491d25996ec5d9bb3416bcb1a5709ba4 firefox-149.0.2.source.tar.xz
+bcc06e086d115161203a2c28c98f94ac258885e0e7df030472798112d4c5edb1 firefox-150.0.source.tar.xz
236ce405bbdd08d95caf005db4a51a573f8580b988c4ee2e5137972e35fb816c fix-webrtc-pid_t.patch
b239875402706ed78023daab811cd997d5f3dd61f4a4444da7299e0fdc425832 gtk-focus-mask.patch
1a8b337a849c5020835735b37f741855655a837fa4b202fe40dd01957e0e5de4 libcxx18.patch
@@ -13,3 +13,4 @@ fdfd975ec0ac05f4a39864523f0ae02d831653d4eada066f2e10e31d84a3d70c musl-sandbox-l
87a1a54d27a7ac7c11774b359179ed84546486ee2e54d8f92c7558de01bbf64e musl-siginfo.patch
6d3448a138b7e650fdc53ce0aee8dfdfce3bb75c0fcb1d5de82f3161c8e3effc musl-single-threaded.patch
0fa00289b972f501d1980b5b34082f6fad78a9c89ce8fe1f2e8ad7315365e37c no-build-id.patch
+837ea26cf7d15e755da1259c5dd22ccbac5a6898740ea7611762aa075f67706b rust-1.95-iwyu.patch
diff --git a/repos/extra/firefox/abuild b/repos/extra/firefox/abuild
index 9adf438c..e9d7d8ff 100644
--- a/repos/extra/firefox/abuild
+++ b/repos/extra/firefox/abuild
@@ -1,5 +1,5 @@
name=firefox
-version=149.0.2
+version=150.0
release=1
source="https://ftp.mozilla.org/pub/${name}/releases/${version}/source/${name}-${version}.source.tar.xz
fix-webrtc-pid_t.patch
@@ -15,7 +15,8 @@ source="https://ftp.mozilla.org/pub/${name}/releases/${version}/source/${name}-$
musl-sandbox-sched.patch
musl-siginfo.patch
musl-single-threaded.patch
- no-build-id.patch"
+ no-build-id.patch
+ rust-1.95-iwyu.patch"
build() {
# musl: allow select() syscall in all sandbox policies
@@ -23,6 +24,8 @@ build() {
security/sandbox/linux/SandboxFilter.cpp > SandboxFilter.tmp
mv SandboxFilter.tmp security/sandbox/linux/SandboxFilter.cpp
+ sed -i 's/\("files":{\)[^}]*/\1/' third_party/rust/encoding_rs/.cargo-checksum.json
+
cat > .mozconfig << EOF
ac_add_options --prefix=/usr
ac_add_options --libdir=/usr/lib
diff --git a/repos/extra/firefox/rust-1.95-iwyu.patch b/repos/extra/firefox/rust-1.95-iwyu.patch
new file mode 100644
index 00000000..3122c977
--- /dev/null
+++ b/repos/extra/firefox/rust-1.95-iwyu.patch
@@ -0,0 +1,12 @@
+diff --git a/third_party/rust/encoding_rs/src/x_user_defined.rs b/third_party/rust/encoding_rs/src/x_user_defined.rs
+index 7af7d5e..afd93c1 100644
+--- a/third_party/rust/encoding_rs/src/x_user_defined.rs
++++ b/third_party/rust/encoding_rs/src/x_user_defined.rs
+@@ -7,6 +7,7 @@
+ // option. This file may not be copied, modified, or distributed
+ // except according to those terms.
+
++use core::simd::Select;
+ use super::*;
+ use crate::handles::*;
+ use crate::variant::*;