diff options
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch | 75 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_16.19.1.bb | 1 |
2 files changed, 76 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch b/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch new file mode 100644 index 0000000000..bff349739c --- /dev/null +++ b/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch | |||
| @@ -0,0 +1,75 @@ | |||
| 1 | From 576aed71db7b40c90b44c623580629792a606928 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jiawen Geng <technicalcute@gmail.com> | ||
| 3 | Date: Fri, 14 Oct 2022 09:54:33 +0800 | ||
| 4 | Subject: [PATCH] deps: V8: cherry-pick c2792e58035f | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Original commit message: | ||
| 10 | |||
| 11 | [base] Fix build with gcc-13 | ||
| 12 | |||
| 13 | See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes. | ||
| 14 | |||
| 15 | Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981 | ||
| 16 | |||
| 17 | Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566 | ||
| 18 | Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140 | ||
| 19 | Reviewed-by: Clemens Backes <clemensb@chromium.org> | ||
| 20 | Reviewed-by: Simon Zünd <szuend@chromium.org> | ||
| 21 | Commit-Queue: Clemens Backes <clemensb@chromium.org> | ||
| 22 | Cr-Commit-Position: refs/heads/main@{#83587} | ||
| 23 | |||
| 24 | Refs: https://github.com/v8/v8/commit/c2792e58035fcbaa16d0cb70998852fbeb5df4cc | ||
| 25 | PR-URL: https://github.com/nodejs/node/pull/44961 | ||
| 26 | Fixes: https://github.com/nodejs/node/issues/43642 | ||
| 27 | Reviewed-By: Michaël Zasso <targos@protonmail.com> | ||
| 28 | Reviewed-By: Richard Lau <rlau@redhat.com> | ||
| 29 | Reviewed-By: Luigi Pinca <luigipinca@gmail.com> | ||
| 30 | Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | ||
| 31 | |||
| 32 | Upstream-Status: Backport [https://github.com/nodejs/node/commit/0be1c5728173ea9ac42843058e26b6268568acf0] | ||
| 33 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 34 | --- | ||
| 35 | deps/v8/AUTHORS | 1 + | ||
| 36 | deps/v8/src/base/logging.h | 1 + | ||
| 37 | deps/v8/src/inspector/v8-string-conversions.h | 1 + | ||
| 38 | 3 files changed, 3 insertions(+) | ||
| 39 | |||
| 40 | diff --git a/deps/v8/AUTHORS b/deps/v8/AUTHORS | ||
| 41 | index 35c49a01..736d3df9 100644 | ||
| 42 | --- a/deps/v8/AUTHORS | ||
| 43 | +++ b/deps/v8/AUTHORS | ||
| 44 | @@ -236,6 +236,7 @@ Vlad Burlik <vladbph@gmail.com> | ||
| 45 | Vladimir Krivosheev <develar@gmail.com> | ||
| 46 | Vladimir Shutoff <vovan@shutoff.ru> | ||
| 47 | Wael Almattar <waelsy123@gmail.com> | ||
| 48 | +WANG Xuerui <git@xen0n.name> | ||
| 49 | Wei Wu <lazyparser@gmail.com> | ||
| 50 | Wenlu Wang <kingwenlu@gmail.com> | ||
| 51 | Wenyu Zhao <wenyu.zhao@anu.edu.au> | ||
| 52 | diff --git a/deps/v8/src/base/logging.h b/deps/v8/src/base/logging.h | ||
| 53 | index 08db24a9..38be165f 100644 | ||
| 54 | --- a/deps/v8/src/base/logging.h | ||
| 55 | +++ b/deps/v8/src/base/logging.h | ||
| 56 | @@ -5,6 +5,7 @@ | ||
| 57 | #ifndef V8_BASE_LOGGING_H_ | ||
| 58 | #define V8_BASE_LOGGING_H_ | ||
| 59 | |||
| 60 | +#include <cstdint> | ||
| 61 | #include <cstring> | ||
| 62 | #include <sstream> | ||
| 63 | #include <string> | ||
| 64 | diff --git a/deps/v8/src/inspector/v8-string-conversions.h b/deps/v8/src/inspector/v8-string-conversions.h | ||
| 65 | index c1d69c18..eb33c681 100644 | ||
| 66 | --- a/deps/v8/src/inspector/v8-string-conversions.h | ||
| 67 | +++ b/deps/v8/src/inspector/v8-string-conversions.h | ||
| 68 | @@ -5,6 +5,7 @@ | ||
| 69 | #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | ||
| 70 | #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | ||
| 71 | |||
| 72 | +#include <cstdint> | ||
| 73 | #include <string> | ||
| 74 | |||
| 75 | // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_16.19.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_16.19.1.bb index 0661fd6f1c..dfc4af3df5 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_16.19.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_16.19.1.bb | |||
| @@ -26,6 +26,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ | |||
| 26 | file://0001-liftoff-Correct-function-signatures.patch \ | 26 | file://0001-liftoff-Correct-function-signatures.patch \ |
| 27 | file://0001-mips-Use-32bit-cast-for-operand-on-mips32.patch \ | 27 | file://0001-mips-Use-32bit-cast-for-operand-on-mips32.patch \ |
| 28 | file://0001-Nodejs-Fixed-pipes-DeprecationWarning.patch \ | 28 | file://0001-Nodejs-Fixed-pipes-DeprecationWarning.patch \ |
| 29 | file://gcc13.patch \ | ||
| 29 | " | 30 | " |
| 30 | SRC_URI:append:class-target = " \ | 31 | SRC_URI:append:class-target = " \ |
| 31 | file://0001-Using-native-binaries.patch \ | 32 | file://0001-Using-native-binaries.patch \ |
