From bd8a56b1405b42be62db5fb538f02706d1ea4428 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Sun, 25 Dec 2022 11:09:03 +0100 Subject: [PATCH] devel/electron21: Fix build on aarch64 Add a missing parenthesis. --- ...patch-base_allocator_partition__allocator_partition__root.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/electron21/files/patch-base_allocator_partition__allocator_partition__root.cc b/devel/electron21/files/patch-base_allocator_partition__allocator_partition__root.cc index bb41e042aed2..f3bde11bbbaf 100644 --- a/devel/electron21/files/patch-base_allocator_partition__allocator_partition__root.cc +++ b/devel/electron21/files/patch-base_allocator_partition__allocator_partition__root.cc @@ -23,7 +23,7 @@ (PartitionPageSize() * kMaxPartitionPagesPerRegularSlotSpan) / MaxPurgeableSlotSize(); -#elif BUILDFLAG(IS_APPLE) || (BUILDFLAG(IS_LINUX) && defined(ARCH_CPU_ARM64)) -+#elif BUILDFLAG(IS_APPLE) || ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) && defined(ARCH_CPU_ARM64)) ++#elif BUILDFLAG(IS_APPLE) || ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(ARCH_CPU_ARM64)) // It's better for slot_usage to be stack-allocated and fixed-size, which // demands that its size be constexpr. On IS_APPLE and Linux on arm64, // PartitionPageSize() is always SystemPageSize() << 2, so regardless of