Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 12:27:02 +0000
From:      Mikael Urankar <mikael@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6c3286b18e6c - main - www/firefox: Fix build with rust 1.95.0
Message-ID:  <69ef5616.2492f.2bb59e56@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c3286b18e6c32db84c0c1c61d79dc568bda270b

commit 6c3286b18e6c32db84c0c1c61d79dc568bda270b
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-04-27 09:50:24 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-04-27 12:26:46 +0000

    www/firefox: 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/files/patch-bug2033279 | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/www/firefox/files/patch-bug2033279 b/www/firefox/files/patch-bug2033279
new file mode 100644
index 000000000000..86546d3f0a84
--- /dev/null
+++ b/www/firefox/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 {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ef5616.2492f.2bb59e56>