diff --git a/www/node/Makefile b/www/node/Makefile index e3ffaa949043..a9be27905698 100644 --- a/www/node/Makefile +++ b/www/node/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= node -PORTVERSION= 12.8.1 +PORTVERSION= 12.9.0 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ @@ -66,7 +66,7 @@ MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \ LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}" BUILD_DEPENDS+= c-ares>=1.15.0:dns/c-ares\ - libuv>=1.30.1:devel/libuv \ + libuv>=1.31.0:devel/libuv \ libnghttp2>=1.39.2:www/libnghttp2 LIB_DEPENDS+= libcares.so:dns/c-ares\ libuv.so:devel/libuv \ diff --git a/www/node/distinfo b/www/node/distinfo index 3034ad14ac0b..9ffbbbd48bc1 100644 --- a/www/node/distinfo +++ b/www/node/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1565994523 -SHA256 (node-v12.8.1.tar.gz) = fbd4de6657f6301cdcd0c60a0e5a413c490670d8c21b501c380b96cc3b9b5b95 -SIZE (node-v12.8.1.tar.gz) = 50231954 +TIMESTAMP = 1566372489 +SHA256 (node-v12.9.0.tar.gz) = 88cb425086a87323288c8389e974e8c1001b81fe11c529e64592e8feb2d12f93 +SIZE (node-v12.9.0.tar.gz) = 50350276 diff --git a/www/node/files/patch-deps_v8_src_arm_cpu-arm.cc b/www/node/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc similarity index 74% rename from www/node/files/patch-deps_v8_src_arm_cpu-arm.cc rename to www/node/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc index 65d3004ab102..726f3e7a0d31 100644 --- a/www/node/files/patch-deps_v8_src_arm_cpu-arm.cc +++ b/www/node/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc @@ -1,16 +1,16 @@ ---- deps/v8/src/arm/cpu-arm.cc.orig 2019-08-06 20:46:23 UTC -+++ deps/v8/src/arm/cpu-arm.cc +--- deps/v8/src/codegen/arm/cpu-arm.cc.orig 2019-08-20 17:14:50 UTC ++++ deps/v8/src/codegen/arm/cpu-arm.cc @@ -7,6 +7,9 @@ #ifdef __QNXNTO__ #include // for cache flushing. - #undef MAP_TYPE + #undef MAP_TYPE // NOLINT +#elif defined(__FreeBSD__) +#include +#include // for cache flushing. #else #include // for cache flushing. #endif -@@ -26,6 +29,9 @@ __attribute__((noinline)) void CpuFeatures::FlushICach +@@ -25,6 +28,9 @@ V8_NOINLINE void CpuFeatures::FlushICache(void* start, #if !defined(USE_SIMULATOR) #if V8_OS_QNX msync(start, size, MS_SYNC | MS_INVALIDATE_ICACHE); diff --git a/www/node/files/patch-deps_v8_src_simulator.h b/www/node/files/patch-deps_v8_src_execution_simulator.h similarity index 80% rename from www/node/files/patch-deps_v8_src_simulator.h rename to www/node/files/patch-deps_v8_src_execution_simulator.h index 928b321d5591..f81801874daf 100644 --- a/www/node/files/patch-deps_v8_src_simulator.h +++ b/www/node/files/patch-deps_v8_src_execution_simulator.h @@ -1,5 +1,5 @@ ---- deps/v8/src/simulator.h.orig 2019-04-26 17:47:06 UTC -+++ deps/v8/src/simulator.h +--- deps/v8/src/execution/simulator.h.orig 2019-04-26 17:47:06 UTC ++++ deps/v8/src/execution/simulator.h @@ -124,7 +124,7 @@ class GeneratedCode { DISABLE_CFI_ICALL Return Call(Args... args) { diff --git a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc index afbb11c9dab0..9c1992530cfd 100644 --- a/www/node/files/patch-deps_v8_src_libsampler_sampler.cc +++ b/www/node/files/patch-deps_v8_src_libsampler_sampler.cc @@ -1,6 +1,6 @@ ---- deps/v8/src/libsampler/sampler.cc.orig 2019-08-06 20:46:24 UTC +--- deps/v8/src/libsampler/sampler.cc.orig 2019-08-20 17:14:50 UTC +++ deps/v8/src/libsampler/sampler.cc -@@ -470,9 +470,13 @@ void SignalHandler::FillRegisterState(void* context, R +@@ -477,9 +477,13 @@ void SignalHandler::FillRegisterState(void* context, R state->sp = reinterpret_cast(mcontext.mc_rsp); state->fp = reinterpret_cast(mcontext.mc_rbp); #elif V8_HOST_ARCH_ARM diff --git a/www/node/files/patch-node.gypi b/www/node/files/patch-node.gypi index 8c570b2dc76e..94f5a432d944 100644 --- a/www/node/files/patch-node.gypi +++ b/www/node/files/patch-node.gypi @@ -1,6 +1,6 @@ ---- node.gypi.orig 2019-08-06 20:46:25 UTC +--- node.gypi.orig 2019-08-20 17:14:52 UTC +++ node.gypi -@@ -307,6 +307,9 @@ +@@ -319,6 +319,9 @@ ['openssl_fips != "" or openssl_is_fips=="true"', { 'defines': [ 'NODE_FIPS_MODE' ], }],