aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird/files/patch-rust-1.89.0
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /mail/thunderbird/files/patch-rust-1.89.0
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
Diffstat (limited to 'mail/thunderbird/files/patch-rust-1.89.0')
-rw-r--r--mail/thunderbird/files/patch-rust-1.89.018
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-rust-1.89.0 b/mail/thunderbird/files/patch-rust-1.89.0
new file mode 100644
index 000000000000..91651c036c7c
--- /dev/null
+++ b/mail/thunderbird/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;