diff options
Diffstat (limited to 'devel/electron37/files/patch-base_allocator_dispatcher_tls.h')
-rw-r--r-- | devel/electron37/files/patch-base_allocator_dispatcher_tls.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-base_allocator_dispatcher_tls.h b/devel/electron37/files/patch-base_allocator_dispatcher_tls.h new file mode 100644 index 000000000000..470fc736cb45 --- /dev/null +++ b/devel/electron37/files/patch-base_allocator_dispatcher_tls.h @@ -0,0 +1,11 @@ +--- base/allocator/dispatcher/tls.h.orig 2025-03-24 20:50:14 UTC ++++ base/allocator/dispatcher/tls.h +@@ -81,7 +81,7 @@ struct BASE_EXPORT MMapAllocator { + constexpr static size_t AllocationChunkSize = 16384; + #elif BUILDFLAG(IS_ANDROID) && defined(ARCH_CPU_64_BITS) + constexpr static size_t AllocationChunkSize = 16384; +-#elif BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64) ++#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64) + constexpr static size_t AllocationChunkSize = 16384; + #else + constexpr static size_t AllocationChunkSize = 4096; |