]> git.pld-linux.org Git - packages/nodejs.git/blame - gcc13.patch
upstream (v8) fix for gcc 13
[packages/nodejs.git] / gcc13.patch
CommitLineData
75d76607
JP
1From c2792e58035fcbaa16d0cb70998852fbeb5df4cc Mon Sep 17 00:00:00 2001
2From: WANG Xuerui <git@xen0n.name>
3Date: Fri, 07 Oct 2022 00:23:49 +0800
4Subject: [PATCH] [base] Fix build with gcc-13
5
6See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes.
7
8Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981
9
10Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566
11Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140
12Reviewed-by: Clemens Backes <clemensb@chromium.org>
13Reviewed-by: Simon Zünd <szuend@chromium.org>
14Commit-Queue: Clemens Backes <clemensb@chromium.org>
15Cr-Commit-Position: refs/heads/main@{#83587}
16---
17
18diff --git a/src/base/logging.h b/src/base/logging.h
19index 08db24a..38be165 100644
20--- a/src/base/logging.h
21+++ b/src/base/logging.h
22@@ -5,6 +5,7 @@
23 #ifndef V8_BASE_LOGGING_H_
24 #define V8_BASE_LOGGING_H_
25
26+#include <cstdint>
27 #include <cstring>
28 #include <sstream>
29 #include <string>
30diff --git a/src/inspector/v8-string-conversions.h b/src/inspector/v8-string-conversions.h
31index c1d69c1..eb33c68 100644
32--- a/src/inspector/v8-string-conversions.h
33+++ b/src/inspector/v8-string-conversions.h
34@@ -5,6 +5,7 @@
35 #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
36 #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_
37
38+#include <cstdint>
39 #include <string>
40
41 // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may
This page took 0.095614 seconds and 4 git commands to generate.