diff --git a/patches/code/84cf3230a9680aac3b73c410c2b758760b6d3066.patch b/patches/code/84cf3230a9680aac3b73c410c2b758760b6d3066.patch new file mode 100644 index 0000000..fae1cb3 --- /dev/null +++ b/patches/code/84cf3230a9680aac3b73c410c2b758760b6d3066.patch @@ -0,0 +1,30 @@ +From 84cf3230a9680aac3b73c410c2b758760b6d3066 Mon Sep 17 00:00:00 2001 +From: Michael Lippautz +Date: Thu, 27 Jan 2022 14:14:11 +0100 +Subject: [PATCH] cppgc: Fix include + +Add to cover for std::exchange. + +Bug: v8:12585 +Change-Id: Ida65144e93e466be8914527d0e646f348c136bcb +Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3420309 +Auto-Submit: Michael Lippautz +Reviewed-by: Omer Katz +Commit-Queue: Michael Lippautz +Cr-Commit-Position: refs/heads/main@{#78820} +--- + src/heap/cppgc/prefinalizer-handler.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/heap/cppgc/prefinalizer-handler.h b/src/heap/cppgc/prefinalizer-handler.h +index bc17c99b1838..c82c91ff5a45 100644 +--- a/src/heap/cppgc/prefinalizer-handler.h ++++ b/src/heap/cppgc/prefinalizer-handler.h +@@ -5,6 +5,7 @@ + #ifndef V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_ + #define V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_ + ++#include + #include + + #include "include/cppgc/prefinalizer.h" diff --git a/plv8.cc b/plv8.cc index c1ce883..6e47e94 100644 --- a/plv8.cc +++ b/plv8.cc @@ -379,7 +379,7 @@ _PG_init(void) NULL, &plv8_v8_flags, NULL, - PGC_USERSET, 0, + PGC_SUSET, 0, #if PG_VERSION_NUM >= 90100 NULL, #endif