diff options
Diffstat (limited to 'net-libs/nodejs/files')
-rw-r--r-- | net-libs/nodejs/files/nodejs-gcc-13.patch | 27 |
1 files changed, 27 insertions, 0 deletions
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 <git@xen0n.name> +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 <cstdint> + #include <cstring> + #include <sstream> + #include <string> +--- 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 <cstdint> + #include <string> + + // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may |