aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-02-22 18:09:03 +0000
committerRene Ladan <rene@FreeBSD.org>2022-02-22 18:12:27 +0000
commitfdd6cc6195a1b5adeb6b38241b588a29b46e737d (patch)
treeb6b6c955164a6f8f89947a531f98bfb97345adf8 /www
parente5e56b8c2efb9129760f297bbd4fa9a7b354d726 (diff)
downloadports-fdd6cc6195a1b5adeb6b38241b588a29b46e737d.tar.gz
ports-fdd6cc6195a1b5adeb6b38241b588a29b46e737d.zip
www/chromium: fix build on 12.X (older libc++)
PR: 262077 Fixes: a23dfd21 "www/chromium: update to 98.0.4758.102" (cherry picked from commit 9b5c41643b8058ac5fc565dce3814c8e9f159db8)
Diffstat (limited to 'www')
-rw-r--r--www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h
new file mode 100644
index 000000000000..b1d0d8621c7a
--- /dev/null
+++ b/www/chromium/files/patch-base_allocator_partition__allocator_starscan_state__bitmap.h
@@ -0,0 +1,20 @@
+--- base/allocator/partition_allocator/starscan/state_bitmap.h.orig 2022-02-21 11:33:24.834416000 +0100
++++ base/allocator/partition_allocator/starscan/state_bitmap.h
+@@ -393,7 +393,7 @@ template <size_t PageSize, size_t PageAlignment, size_
+ template <typename Filter,
+ typename CallbackForwarder,
+ typename Callback,
+- bool Clear>
++ bool ClearBits>
+ inline void
+ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl(
+ size_t epoch,
+@@ -423,7 +423,7 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignme
+
+ callback_forwarder(callback, object_address, bits);
+
+- if (Clear) {
++ if (ClearBits) {
+ // Clear the current bits.
+ AsAtomicCell(cell_index)
+ .fetch_and(clear_value_mask, std::memory_order_relaxed);