git: 7133a26d0706 - main - www/firefox-esr: Fix build with rust 1.95.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 12:27:01 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7133a26d0706880744b1c4a2b55392dd5b033f60
commit 7133a26d0706880744b1c4a2b55392dd5b033f60
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-04-27 09:47:02 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-04-27 12:26:45 +0000
www/firefox-esr: Fix build with rust 1.95.0
Import part of upstream patch [1] to fix the following error,
upstream PR at [2]:
error[E0599]: no method named `select` found for struct `Mask<T, N>` in the current scope
--> third_party/rust/encoding_rs/src/x_user_defined.rs:23:56
[1] https://hg-edge.mozilla.org/mozilla-central/rev/ec1dd05fd578
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
PR: 294615
Approved by: portmgr (build fix blanket)
---
www/firefox-esr/files/patch-bug2033279 | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/www/firefox-esr/files/patch-bug2033279 b/www/firefox-esr/files/patch-bug2033279
new file mode 100644
index 000000000000..86546d3f0a84
--- /dev/null
+++ b/www/firefox-esr/files/patch-bug2033279
@@ -0,0 +1,15 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
+
+error[E0599]: no method named `select` found for struct `Mask<T, N>` in the current scope
+ --> third_party/rust/encoding_rs/src/x_user_defined.rs:23:56
+
+--- third_party/rust/encoding_rs/src/x_user_defined.rs.orig 2026-04-20 10:54:51 UTC
++++ third_party/rust/encoding_rs/src/x_user_defined.rs
+@@ -16,6 +16,7 @@ cfg_if! {
+ use simd_funcs::*;
+ use core::simd::u16x8;
+ use core::simd::cmp::SimdPartialOrd;
++ use core::simd::Select;
+
+ #[inline(always)]
+ fn shift_upper(unpacked: u16x8) -> u16x8 {