git: bd8a56b1405b - main - devel/electron21: Fix build on aarch64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Dec 2022 10:10:26 UTC
The branch main has been updated by mikael:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd8a56b1405b42be62db5fb538f02706d1ea4428
commit bd8a56b1405b42be62db5fb538f02706d1ea4428
Author: Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-12-25 10:09:03 +0000
Commit: Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-12-25 10:09:59 +0000
devel/electron21: Fix build on aarch64
Add a missing parenthesis.
---
.../files/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