summaryrefslogtreecommitdiff
path: root/net-libs/nodejs/files/nodejs-gcc-13.patch
blob: 13427a6b74078dd7b2f133fe8addc8d261c50713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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