From 596e3a8f2fd028c8feeadb792abfce0690744eb6 Mon Sep 17 00:00:00 2001 From: Jiawen Geng Date: Fri, 14 Oct 2022 09:54:33 +0800 Subject: [PATCH] deps: V8: cherry-pick c2792e58035f MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: [base] Fix build with gcc-13 See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes. Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981 Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140 Reviewed-by: Clemens Backes Reviewed-by: Simon Zünd Commit-Queue: Clemens Backes Cr-Commit-Position: refs/heads/main@{#83587} Refs: https://github.com/v8/v8/commit/c2792e58035fcbaa16d0cb70998852fbeb5df4cc PR-URL: https://github.com/nodejs/node/pull/44961 Fixes: https://github.com/nodejs/node/issues/43642 Reviewed-By: Michaël Zasso Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- common.gypi | 2 +- deps/v8/AUTHORS | 1 + deps/v8/src/base/logging.h | 1 + deps/v8/src/inspector/v8-string-conversions.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index 0e5ce682494601..00f545ba6aaa8b 100644 --- a/common.gypi +++ b/common.gypi @@ -36,7 +36,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.13', + 'v8_embedder_string': '-node.16', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS index e095f812659d7a..82405e4824ab4f 100644 --- a/deps/v8/AUTHORS +++ b/deps/v8/AUTHORS @@ -247,6 +247,7 @@ Vlad Burlik Vladimir Krivosheev Vladimir Shutoff Wael Almattar +WANG Xuerui Wei Wu Wenlu Wang Wenming Yang diff --git a/deps/v8/src/base/logging.h b/deps/v8/src/base/logging.h index 08db24a947eca2..38be165fc13d62 100644 --- a/deps/v8/src/base/logging.h +++ b/deps/v8/src/base/logging.h @@ -5,6 +5,7 @@ #ifndef V8_BASE_LOGGING_H_ #define V8_BASE_LOGGING_H_ +#include #include #include #include diff --git a/deps/v8/src/inspector/v8-string-conversions.h b/deps/v8/src/inspector/v8-string-conversions.h index c1d69c18f0a8e5..eb33c6816a5882 100644 --- a/deps/v8/src/inspector/v8-string-conversions.h +++ b/deps/v8/src/inspector/v8-string-conversions.h @@ -5,6 +5,7 @@ #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ +#include #include // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may