aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-10-30 12:22:59 +0000
committerRene Ladan <rene@FreeBSD.org>2022-10-30 12:42:25 +0000
commit69d0eca8ce9238ab3eb37ba532ceb0acdee41ee2 (patch)
tree6885dc24683506ba00b2fefa92c2304543056deb
parent094111fba87ca6e1fbf242fabd819fa18cef4e9f (diff)
downloadports-69d0eca8ce9238ab3eb37ba532ceb0acdee41ee2.tar.gz
ports-69d0eca8ce9238ab3eb37ba532ceb0acdee41ee2.zip
www/iridium: unbreak build on arm64
(cherry picked from commit a26cdddaa6b6a31e9a15519ff94ba2cabd040428)
-rw-r--r--www/iridium/files/patch-base_allocator_partition__allocator_partition__root.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/iridium/files/patch-base_allocator_partition__allocator_partition__root.cc b/www/iridium/files/patch-base_allocator_partition__allocator_partition__root.cc
index 96b13ce784d5..836a01cee4d1 100644
--- a/www/iridium/files/patch-base_allocator_partition__allocator_partition__root.cc
+++ b/www/iridium/files/patch-base_allocator_partition__allocator_partition__root.cc
@@ -1,4 +1,4 @@
---- base/allocator/partition_allocator/partition_root.cc.orig 2022-10-05 07:34:01 UTC
+--- base/allocator/partition_allocator/partition_root.cc.orig 2022-10-30 12:20:09 UTC
+++ base/allocator/partition_allocator/partition_root.cc
@@ -33,7 +33,7 @@
#include "wow64apiset.h"
@@ -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