git: 9aa1b35c6060 - main - net-im/libsignal: remove not necessary patch

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 24 Sep 2026 12:54:19 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9aa1b35c606025e078b149dcb0ba009b02b19323

commit 9aa1b35c606025e078b149dcb0ba009b02b19323
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-09-16 12:46:08 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-09-24 12:53:39 +0000

    net-im/libsignal: remove not necessary patch
    
    The port had been updated before the commit that introduced this patch
    was pushed.
---
 .../patch-rust_bridge_shared_types_src_ffi_mod.rs  | 27 ----------------------
 1 file changed, 27 deletions(-)

diff --git a/net-im/libsignal/files/patch-rust_bridge_shared_types_src_ffi_mod.rs b/net-im/libsignal/files/patch-rust_bridge_shared_types_src_ffi_mod.rs
deleted file mode 100644
index a9213fbb60b6..000000000000
--- a/net-im/libsignal/files/patch-rust_bridge_shared_types_src_ffi_mod.rs
+++ /dev/null
@@ -1,27 +0,0 @@
---- rust/bridge/shared/types/src/ffi/mod.rs.orig	2026-06-25 20:33:59 UTC
-+++ rust/bridge/shared/types/src/ffi/mod.rs
-@@ -79,8 +79,7 @@ impl<T> BorrowedMutableSliceOf<T> {
-     }
- }
- 
--/// A buffer of `length` elements of type `T`, allocated with the alignment of
--/// [`libc::max_align_t`].
-+/// A buffer of `length` elements of type `T`, allocated with a fixed alignment.
- ///
- /// The number of bytes allocated is stored in `size_bytes`.
- ///
-@@ -100,8 +99,13 @@ impl<T> OwnedBufferOfMaxAligned<T> {
- }
- 
- impl<T> OwnedBufferOfMaxAligned<T> {
--    pub const ALIGNMENT: usize = std::mem::align_of::<libc::max_align_t>();
-+    // A reasonable max alignment for most types we use. (We aren't using SIMD types here.)
-+    // A const-time assertion will trip if this alignment isn't sufficient.
-+    pub const ALIGNMENT: usize = 16;
-     pub fn layout_for_count(count: usize) -> std::alloc::Layout {
-+        const {
-+            assert!(std::mem::align_of::<T>() <= Self::ALIGNMENT);
-+        }
-         std::alloc::Layout::array::<T>(count)
-             .expect("valid layout")
-             .align_to(Self::ALIGNMENT)