Date: Mon, 1 Sep 2025 08:26:00 GMT 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: 329b3a2b55a3 - main - mail/thunderbird-esr: : Fix build with rust 1.89.0 Message-ID: <202509010826.5818Q03Z067457@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=329b3a2b55a306be5b3351568c11552dd55d2b75 commit 329b3a2b55a306be5b3351568c11552dd55d2b75 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2025-09-01 06:57:43 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-09-01 08:24:03 +0000 mail/thunderbird-esr: : Fix build with rust 1.89.0 error: implicit autoref creates a reference to the dereference of a raw pointer --> third_party/rust/allocator-api2/src/stable/vec/mod.rs:1902:30 PR: 288923 Approved by: portmgr (build fix blanket) --- mail/thunderbird-esr/files/patch-rust-1.89.0 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/mail/thunderbird-esr/files/patch-rust-1.89.0 b/mail/thunderbird-esr/files/patch-rust-1.89.0 new file mode 100644 index 000000000000..91651c036c7c --- /dev/null +++ b/mail/thunderbird-esr/files/patch-rust-1.89.0 @@ -0,0 +1,18 @@ +fix build with rust 1.89 + +cf https://bugzilla.mozilla.org/show_bug.cgi?id=1982003 + +taken from: +https://github.com/openbsd/ports/commit/3ef8a2538893109bea8211ef13a870822264e096 + +--- third_party/rust/allocator-api2/src/stable/vec/mod.rs.orig 2025-08-13 22:43:24.000000000 +0200 ++++ third_party/rust/allocator-api2/src/stable/vec/mod.rs 2025-09-01 08:52:19.103780000 +0200 +@@ -51,6 +51,8 @@ + //! + //! [`push`]: Vec::push + ++#![warn(dangerous_implicit_autorefs)] ++ + #[cfg(not(no_global_oom_handling))] + use core::cmp; + use core::cmp::Ordering;home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509010826.5818Q03Z067457>
