diff options
Diffstat (limited to 'devel/electron33/files/patch-mojo_core_channel.cc')
-rw-r--r-- | devel/electron33/files/patch-mojo_core_channel.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/devel/electron33/files/patch-mojo_core_channel.cc b/devel/electron33/files/patch-mojo_core_channel.cc deleted file mode 100644 index 4c5f42162e12..000000000000 --- a/devel/electron33/files/patch-mojo_core_channel.cc +++ /dev/null @@ -1,14 +0,0 @@ ---- mojo/core/channel.cc.orig 2024-10-16 21:31:35 UTC -+++ mojo/core/channel.cc -@@ -82,7 +82,11 @@ const size_t kMaxAttachedHandles = 253; - const size_t kMaxAttachedHandles = 253; - #endif // BUILDFLAG(IS_FUCHSIA) - -+#if defined(__i386__) && defined(OS_FREEBSD) -+const size_t kChannelMessageAlignment = 4; -+#else - static_assert(alignof(std::max_align_t) >= kChannelMessageAlignment, ""); -+#endif - Channel::AlignedBuffer MakeAlignedBuffer(size_t size) { - // Generic allocators (such as malloc) return a pointer that is suitably - // aligned for storing any type of object with a fundamental alignment |