git: fdd6cc6195a1 - 2022Q1 - www/chromium: fix build on 12.X (older libc++)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Feb 2022 18:20:01 UTC
The branch 2022Q1 has been updated by rene:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fdd6cc6195a1b5adeb6b38241b588a29b46e737d
commit fdd6cc6195a1b5adeb6b38241b588a29b46e737d
Author: Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-02-22 18:09:03 +0000
Commit: Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-02-22 18:12:27 +0000
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)
---
...tor_partition__allocator_starscan_state__bitmap.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
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);