summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch')
-rw-r--r--www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch b/www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch
new file mode 100644
index 0000000..0ca9956
--- /dev/null
+++ b/www-client/chromium/files/chromium-100-PartitionFreelistEntry-namespace.patch
@@ -0,0 +1,26 @@
+From f6490c3b85b1d6f2043c59680ac7c273b03b5a39 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09@googlemail.com>
+Date: Sun, 6 Feb 2022 07:58:32 +0000
+Subject: [PATCH] libstdc++: add namespace for nullptr_t in
+ PartitionFreelistEntry
+
+---
+ base/allocator/partition_allocator/partition_freelist_entry.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/base/allocator/partition_allocator/partition_freelist_entry.h b/base/allocator/partition_allocator/partition_freelist_entry.h
+index cb20598..850d27b 100644
+--- a/base/allocator/partition_allocator/partition_freelist_entry.h
++++ b/base/allocator/partition_allocator/partition_freelist_entry.h
+@@ -86,7 +86,7 @@ class EncodedPartitionFreelistEntryPtr {
+ // the rationale and mechanism, respectively.
+ class PartitionFreelistEntry {
+ private:
+- explicit constexpr PartitionFreelistEntry(nullptr_t)
++ explicit constexpr PartitionFreelistEntry(std::nullptr_t)
+ : encoded_next_(EncodedPartitionFreelistEntryPtr(nullptr))
+ #if defined(PA_HAS_FREELIST_SHADOW_ENTRY)
+ ,
+--
+2.34.1
+