From 9c602d90d61cea9fe83c596c68a99e383ee15f73 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Oct 2022 22:00:05 +0100 Subject: gentoo auto-resync : 28:10:2022 - 22:00:04 --- net-libs/nodejs/files/nodejs-gcc-13.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 net-libs/nodejs/files/nodejs-gcc-13.patch (limited to 'net-libs/nodejs/files') diff --git a/net-libs/nodejs/files/nodejs-gcc-13.patch b/net-libs/nodejs/files/nodejs-gcc-13.patch new file mode 100644 index 000000000000..13427a6b7407 --- /dev/null +++ b/net-libs/nodejs/files/nodejs-gcc-13.patch @@ -0,0 +1,27 @@ +https://chromium-review.googlesource.com/c/v8/v8/+/3934140 +adjusted to layout of the node project +From: WANG Xuerui +Date: Tue, 4 Oct 2022 17:21:03 +0800 +Subject: [PATCH] [base] Fix build with gcc-13 + +See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes. +--- 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 +--- 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 -- cgit v1.2.3