thunderbird/build-allocator-failure.patch
Jan Horak a756bd719d Rebase to 140
Removed bundled(cups) as long as it is not bundled
thunderbird rebase of 8.2 changes
Modified spec file to work with all 8.x and 9.x

Resolves: RHEL-114014
2025-10-03 15:34:56 +02:00

14 lines
1.0 KiB
Diff

diff -up thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/mod.rs.allocator-build-failure thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/mod.rs
diff -up thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/vec/mod.rs.allocator-build-failure thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/vec/mod.rs
--- thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/vec/mod.rs.allocator-build-failure 2025-09-22 21:34:57.882628390 +0200
+++ thunderbird-140.2.1/third_party/rust/allocator-api2/src/stable/vec/mod.rs 2025-09-22 21:35:28.956732631 +0200
@@ -1899,7 +1899,7 @@ impl<T, A: Allocator> Vec<T, A> {
#[cfg(not(no_global_oom_handling))]
#[inline(always)]
unsafe fn append_elements(&mut self, other: *const [T]) {
- let count = unsafe { (*other).len() };
+ let count = unsafe { (&(*other)).len() };
self.reserve(count);
let len = self.len();
unsafe { ptr::copy_nonoverlapping(other as *const T, self.as_mut_ptr().add(len), count) };