Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 12:27:09 +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: be89c5eb3d0b - main - mail/thunderbird-esr: Fix build with rust 1.95.0
Message-ID:  <69ef561d.23970.7833f478@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=be89c5eb3d0bfa9d15bb78bf843536b748cfc42a

commit be89c5eb3d0bfa9d15bb78bf843536b748cfc42a
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2026-04-27 09:52:30 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2026-04-27 12:26:47 +0000

    mail/thunderbird-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, 294703
    Approved by:    portmgr (build fix blanket)
---
 mail/thunderbird-esr/files/patch-bug2033279 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/mail/thunderbird-esr/files/patch-bug2033279 b/mail/thunderbird-esr/files/patch-bug2033279
new file mode 100644
index 000000000000..91a45ab6abba
--- /dev/null
+++ b/mail/thunderbird-esr/files/patch-bug2033279
@@ -0,0 +1,28 @@
+https://bugzilla.mozilla.org/show_bug.cgi?id=2033279
+
+https://hg-edge.mozilla.org/mozilla-central/rev/ec1dd05fd578
+
+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
+
+--- comm/third_party/rust/encoding_rs/src/x_user_defined.rs.orig	2026-04-20 10:54:51 UTC
++++ comm/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 {
+
+--- 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?69ef561d.23970.7833f478>