From 94345b0325bbffebf97b8a54f2d896a1bbb1291a Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Mon, 20 Mar 2023 17:33:17 +0900 Subject: [PATCH] node: bump to v18.15.0 Update to v18.15.0 Fixed bug using system-icu Signed-off-by: Hirokazu MORIKAWA --- lang/node/Makefile | 4 +-- ...necessary_libraries_for_host_execute.patch | 6 ++--- lang/node/patches/991-v8_zlib_support.patch | 4 +-- .../patches/992-v8_add_include_dirs.patch | 26 +++++++++++++++++++ .../992-v8_compiler_add_include_dirs.patch | 10 ------- 5 files changed, 33 insertions(+), 17 deletions(-) create mode 100644 lang/node/patches/992-v8_add_include_dirs.patch delete mode 100644 lang/node/patches/992-v8_compiler_add_include_dirs.patch diff --git a/lang/node/Makefile b/lang/node/Makefile index f1eacd891e..6da85cc125 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=node -PKG_VERSION:=v18.14.2 +PKG_VERSION:=v18.15.0 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) -PKG_HASH:=fbc364dd25fee2cacc0f2033db2d86115fc07575310ea0e64408b8170d09c685 +PKG_HASH:=8e44d65018ff973284195c23186469a0ea4082e97ec4200e5f5706d5584daa37 PKG_MAINTAINER:=Hirokazu MORIKAWA , Adrian Panella PKG_LICENSE:=MIT diff --git a/lang/node/patches/990-delete_unnecessary_libraries_for_host_execute.patch b/lang/node/patches/990-delete_unnecessary_libraries_for_host_execute.patch index f9e5329db0..d9b5b6889f 100644 --- a/lang/node/patches/990-delete_unnecessary_libraries_for_host_execute.patch +++ b/lang/node/patches/990-delete_unnecessary_libraries_for_host_execute.patch @@ -51,7 +51,7 @@ 'dependencies': [ 'v8_base_without_compiler', 'v8_compiler_for_mksnapshot', -@@ -1442,6 +1445,7 @@ +@@ -1450,6 +1453,7 @@ { 'target_name': 'torque', 'type': 'executable', @@ -59,7 +59,7 @@ 'dependencies': [ 'torque_base', # "build/win:default_exe_manifest", -@@ -1480,6 +1484,7 @@ +@@ -1488,6 +1492,7 @@ { 'target_name': 'torque-language-server', 'type': 'executable', @@ -67,7 +67,7 @@ 'conditions': [ ['want_separate_host_toolset', { 'toolsets': ['host'], -@@ -1507,6 +1512,8 @@ +@@ -1515,6 +1520,8 @@ { 'target_name': 'gen-regexp-special-case', 'type': 'executable', diff --git a/lang/node/patches/991-v8_zlib_support.patch b/lang/node/patches/991-v8_zlib_support.patch index d8c478b8f7..cc400a36ed 100644 --- a/lang/node/patches/991-v8_zlib_support.patch +++ b/lang/node/patches/991-v8_zlib_support.patch @@ -62,7 +62,7 @@ 'include_dirs': [ '<(V8_ROOT)/include', ], -@@ -1729,6 +1736,7 @@ +@@ -1737,6 +1744,7 @@ }], ], 'direct_dependent_settings': { @@ -70,7 +70,7 @@ 'include_dirs': [ '<(V8_ROOT)/include', ], -@@ -1909,15 +1917,19 @@ +@@ -1917,15 +1925,19 @@ }], ], 'direct_dependent_settings': { diff --git a/lang/node/patches/992-v8_add_include_dirs.patch b/lang/node/patches/992-v8_add_include_dirs.patch new file mode 100644 index 0000000000..8588621d29 --- /dev/null +++ b/lang/node/patches/992-v8_add_include_dirs.patch @@ -0,0 +1,26 @@ +--- a/tools/v8_gypfiles/v8.gyp ++++ b/tools/v8_gypfiles/v8.gyp +@@ -242,6 +242,7 @@ + 'sources': [ + '<(V8_ROOT)/src/init/setup-isolate-full.cc', + ], ++ 'include_dirs': [ '