diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-03-03 17:06:56 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-03-04 13:41:13 -0800 |
| commit | a4491a3e3ef0a73a3b3036808c1d244d43f925f0 (patch) | |
| tree | e4487dbb8886724826ee1a7d96eb989965ae3bf0 | |
| parent | cbec25e1bc62f4fc45f5aaebd7bb0cc037153fec (diff) | |
| download | meta-openembedded-a4491a3e3ef0a73a3b3036808c1d244d43f925f0.tar.gz | |
nodejs: Upgrade to 18.14.2
License-Update: Add base64 license information [1] and postject [2]
[1] https://github.com/nodejs/node/commit/2ec8092e2cf70267e765dfe4baf13d72838a58ed
[2] https://github.com/nodejs/node/commit/4aaec0726694ad0d3cb05d7f2593a90363c32f32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rwxr-xr-x | meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.14/oe-npm-cache (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.12/oe-npm-cache) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.14.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.12.bb) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch | 6 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch | 70 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_18.14.2.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb) | 7 |
5 files changed, 5 insertions, 78 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.12/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.14/oe-npm-cache index f596207648..f596207648 100755 --- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.12/oe-npm-cache +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-18.14/oe-npm-cache | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.12.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.14.bb index a61dd5018f..a61dd5018f 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.12.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_18.14.bb | |||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch index e949c635b0..356c98d176 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch +++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch | |||
| @@ -33,16 +33,14 @@ do_unpack[postfuncs] += "prune_sources" | |||
| 33 | Makefile | 2 +- | 33 | Makefile | 2 +- |
| 34 | 1 file changed, 1 insertion(+), 1 deletion(-) | 34 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 35 | 35 | ||
| 36 | diff --git a/Makefile b/Makefile | ||
| 37 | index 93d63110..79caaec2 100644 | ||
| 38 | --- a/Makefile | 36 | --- a/Makefile |
| 39 | +++ b/Makefile | 37 | +++ b/Makefile |
| 40 | @@ -138,7 +138,7 @@ with-code-cache test-code-cache: | 38 | @@ -169,7 +169,7 @@ with-code-cache test-code-cache: |
| 41 | $(warning '$@' target is a noop) | 39 | $(warning '$@' target is a noop) |
| 42 | 40 | ||
| 43 | out/Makefile: config.gypi common.gypi node.gyp \ | 41 | out/Makefile: config.gypi common.gypi node.gyp \ |
| 44 | - deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \ | 42 | - deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \ |
| 45 | + deps/llhttp/llhttp.gyp \ | 43 | + deps/llhttp/llhttp.gyp \ |
| 44 | deps/simdutf/simdutf.gyp \ | ||
| 46 | tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \ | 45 | tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \ |
| 47 | tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp | 46 | tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp |
| 48 | $(PYTHON) tools/gyp_node.py -f make | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch b/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch deleted file mode 100644 index be82c3369c..0000000000 --- a/meta-oe/recipes-devtools/nodejs/nodejs/gcc13.patch +++ /dev/null | |||
| @@ -1,70 +0,0 @@ | |||
| 1 | From 0be1c5728173ea9ac42843058e26b6268568acf0 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 | common.gypi | 2 +- | ||
| 36 | deps/v8/AUTHORS | 1 + | ||
| 37 | deps/v8/src/base/logging.h | 1 + | ||
| 38 | deps/v8/src/inspector/v8-string-conversions.h | 1 + | ||
| 39 | 4 files changed, 4 insertions(+), 1 deletion(-) | ||
| 40 | |||
| 41 | --- a/deps/v8/AUTHORS | ||
| 42 | +++ b/deps/v8/AUTHORS | ||
| 43 | @@ -247,6 +247,7 @@ Vlad Burlik <vladbph@gmail.com> | ||
| 44 | Vladimir Krivosheev <develar@gmail.com> | ||
| 45 | Vladimir Shutoff <vovan@shutoff.ru> | ||
| 46 | Wael Almattar <waelsy123@gmail.com> | ||
| 47 | +WANG Xuerui <git@xen0n.name> | ||
| 48 | Wei Wu <lazyparser@gmail.com> | ||
| 49 | Wenlu Wang <kingwenlu@gmail.com> | ||
| 50 | Wenming Yang <yangwenming@bytedance.com> | ||
| 51 | --- a/deps/v8/src/base/logging.h | ||
| 52 | +++ b/deps/v8/src/base/logging.h | ||
| 53 | @@ -5,6 +5,7 @@ | ||
| 54 | #ifndef V8_BASE_LOGGING_H_ | ||
| 55 | #define V8_BASE_LOGGING_H_ | ||
| 56 | |||
| 57 | +#include <cstdint> | ||
| 58 | #include <cstring> | ||
| 59 | #include <sstream> | ||
| 60 | #include <string> | ||
| 61 | --- a/deps/v8/src/inspector/v8-string-conversions.h | ||
| 62 | +++ b/deps/v8/src/inspector/v8-string-conversions.h | ||
| 63 | @@ -5,6 +5,7 @@ | ||
| 64 | #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | ||
| 65 | #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ | ||
| 66 | |||
| 67 | +#include <cstdint> | ||
| 68 | #include <string> | ||
| 69 | |||
| 70 | // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may | ||
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_18.14.2.bb index 802c4191bb..c92c373746 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_18.14.2.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" | 1 | DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" |
| 2 | HOMEPAGE = "http://nodejs.org" | 2 | HOMEPAGE = "http://nodejs.org" |
| 3 | LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0" | 3 | LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dfd7ae796baf5326016a3865ee1dc632" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2dff1ccca11e333f1388e34f7e2d1de3" |
| 5 | 5 | ||
| 6 | CVE_PRODUCT = "nodejs node.js" | 6 | CVE_PRODUCT = "nodejs node.js" |
| 7 | 7 | ||
| @@ -27,7 +27,6 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ | |||
| 27 | file://system-c-ares.patch \ | 27 | file://system-c-ares.patch \ |
| 28 | file://0001-liftoff-Correct-function-signatures.patch \ | 28 | file://0001-liftoff-Correct-function-signatures.patch \ |
| 29 | file://0001-mips-Use-32bit-cast-for-operand-on-mips32.patch \ | 29 | file://0001-mips-Use-32bit-cast-for-operand-on-mips32.patch \ |
| 30 | file://gcc13.patch \ | ||
| 31 | " | 30 | " |
| 32 | 31 | ||
| 33 | SRC_URI:append:class-target = " \ | 32 | SRC_URI:append:class-target = " \ |
| @@ -39,7 +38,7 @@ SRC_URI:append:toolchain-clang:x86 = " \ | |||
| 39 | SRC_URI:append:toolchain-clang:powerpc64le = " \ | 38 | SRC_URI:append:toolchain-clang:powerpc64le = " \ |
| 40 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ | 39 | file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ |
| 41 | " | 40 | " |
| 42 | SRC_URI[sha256sum] = "4fa406451bc52659a290e52cfdb2162a760bd549da4b8bbebe6a29f296d938df" | 41 | SRC_URI[sha256sum] = "fbc364dd25fee2cacc0f2033db2d86115fc07575310ea0e64408b8170d09c685" |
| 43 | 42 | ||
| 44 | S = "${WORKDIR}/node-v${PV}" | 43 | S = "${WORKDIR}/node-v${PV}" |
| 45 | 44 | ||
