Skip to content

Commit a30b0a6

Browse files
committed
Patch v8 prefinalizer.h to add <utility> header
@​v8: If you use `std::exchange`, include the header for it?
1 parent 4a04381 commit a30b0a6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

libexec/extract-node

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ cd "${src}/node-v${version}"
3232
#patch -p1 < "${top}"/patch/gyp-libv8_monolith.patch
3333
patch -p1 < "${top}"/patch/py2-icutrim.patch
3434
patch -p1 < "${top}"/patch/py2-genv8constants.patch
35+
patch -p0 < "${top}"/patch/v8-prefinalizer-h-utility.patch
3536

3637
# TODO: the following still fails on py3 so the above one forcing py2 is needed
3738
# patch -p1 < ../../py3-genv8constants.patch

patch/v8-prefinalizer-h-utility.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- deps/v8/src/heap/cppgc/prefinalizer-handler.h.bck
2+
+++ deps/v8/src/heap/cppgc/prefinalizer-handler.h
3+
@@ -6,6 +6,7 @@
4+
#define V8_HEAP_CPPGC_PREFINALIZER_HANDLER_H_
5+
6+
#include <vector>
7+
+#include <utility>
8+
9+
#include "include/cppgc/prefinalizer.h"
10+

0 commit comments

Comments
 (0)