From 4e73068249db111d9a41f793ceb8b255c233c36c Mon Sep 17 00:00:00 2001 From: fhajny Date: Wed, 22 Feb 2017 11:22:43 +0000 Subject: Update lang/nodejs to 7.6.0. Notable changes - deps: - update V8 to 5.5 - upgrade libuv to 1.11.0 - add node-inspect 1.10.4 - upgrade zlib to 1.2.11 - lib: build node inspect into node - crypto: Remove expired certs from CNNIC whitelist - inspector: add --inspect-brk - fs: allow WHATWG URL objects as paths - src: support UTF-8 in compiled-in JS source files - url: extend url.format to support WHATWG URL --- lang/nodejs/Makefile | 4 ++-- lang/nodejs/PLIST | 4 +++- lang/nodejs/distinfo | 12 ++++++------ .../patches/patch-deps_v8_src_compiler_types.h | 21 +++++++++++++++++++++ lang/nodejs/patches/patch-deps_v8_src_types.h | 21 --------------------- 5 files changed, 32 insertions(+), 30 deletions(-) create mode 100644 lang/nodejs/patches/patch-deps_v8_src_compiler_types.h delete mode 100644 lang/nodejs/patches/patch-deps_v8_src_types.h diff --git a/lang/nodejs/Makefile b/lang/nodejs/Makefile index 66a83d9fcfd..f4188cf67ae 100644 --- a/lang/nodejs/Makefile +++ b/lang/nodejs/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.87 2017/02/13 13:55:22 fhajny Exp $ +# $NetBSD: Makefile,v 1.88 2017/02/22 11:22:43 fhajny Exp $ -DISTNAME= node-v7.5.0 +DISTNAME= node-v7.6.0 .include "../../lang/nodejs/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/lang/nodejs/PLIST b/lang/nodejs/PLIST index d9c158750aa..e7f060f1a7f 100644 --- a/lang/nodejs/PLIST +++ b/lang/nodejs/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.43 2017/02/13 13:55:22 fhajny Exp $ +@comment $NetBSD: PLIST,v 1.44 2017/02/22 11:22:43 fhajny Exp $ bin/node bin/npm include/node/android-ifaddrs.h @@ -32,6 +32,8 @@ include/node/uv-win.h include/node/uv.h include/node/v8-debug.h include/node/v8-experimental.h +include/node/v8-inspector-protocol.h +include/node/v8-inspector.h include/node/v8-platform.h include/node/v8-profiler.h include/node/v8-testing.h diff --git a/lang/nodejs/distinfo b/lang/nodejs/distinfo index 1cfdd813639..77018ba3cf8 100644 --- a/lang/nodejs/distinfo +++ b/lang/nodejs/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.85 2017/02/13 13:55:22 fhajny Exp $ +$NetBSD: distinfo,v 1.86 2017/02/22 11:22:43 fhajny Exp $ -SHA1 (node-v7.5.0.tar.gz) = 453b9d2475632b16c758cae8d9a0f17300a30054 -RMD160 (node-v7.5.0.tar.gz) = 338cad6b92783ad995d22167cf55d8fddf6ebc05 -SHA512 (node-v7.5.0.tar.gz) = e5f1b37c5d313ca6cc91cb46f49443855d44718599543894f34aad6b921b9fbbc91b8bde720a2e6526d0cdb68ce77f74e1d770dec2b582ad964cd9d1d3c5bfbd -Size (node-v7.5.0.tar.gz) = 27746209 bytes +SHA1 (node-v7.6.0.tar.gz) = f4ab406cc11af8819dfd6e43ac03c3016faa1b71 +RMD160 (node-v7.6.0.tar.gz) = 11be50d62afcf120b0c8edb7e2d61171d29dd50f +SHA512 (node-v7.6.0.tar.gz) = c5839622ca6c5cba7014d53bb1009f1e6ebfe9c4567068bd8abfe6377580ef1b41d0b9416221dd226c3d6da86d022fd0de62e50c1c517fa0d6868421e6ad9514 +Size (node-v7.6.0.tar.gz) = 27981527 bytes SHA1 (patch-common.gypi) = 5b3a50617358637a6f910de28bb5a14f037317a6 SHA1 (patch-deps_cares_cares.gyp) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f SHA1 (patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_generator_make.py) = 78d6ddd37ae30e869e0da666a78baad86a638c50 @@ -16,8 +16,8 @@ SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 686c2054838a25cfeed SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 0abf6a541f24da87dbbd22f57abcd5534999b3df SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = eff609b75125dab536934bd8afa640955dcee674 SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = aa84bf1dbaac5808529f6b01502d117c88751649 +SHA1 (patch-deps_v8_src_compiler_types.h) = 547954c73ae3c86d5bb2108488ca21a34ece501c SHA1 (patch-deps_v8_src_log-utils.h) = 32bbf2de2af7a8ab6900a4d5e968dcc1357f6de2 -SHA1 (patch-deps_v8_src_types.h) = 250ab540fa28caeea034ed02b84182bc770cdf35 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3 SHA1 (patch-src_cares__wrap.cc) = d9510afd0cd4b0156a604d9197d9f97d6e3b291f SHA1 (patch-src_node.cc) = 7004baf140e252861494b4fb003beeaa8581be78 diff --git a/lang/nodejs/patches/patch-deps_v8_src_compiler_types.h b/lang/nodejs/patches/patch-deps_v8_src_compiler_types.h new file mode 100644 index 00000000000..babebe20307 --- /dev/null +++ b/lang/nodejs/patches/patch-deps_v8_src_compiler_types.h @@ -0,0 +1,21 @@ +$NetBSD: patch-deps_v8_src_compiler_types.h,v 1.1 2017/02/22 11:22:43 fhajny Exp $ + +NetBSD 6 doesn't have nearbyint/nearbyintf. + +--- deps/v8/src/compiler/types.h.orig 2017-02-21 22:53:29.000000000 +0000 ++++ deps/v8/src/compiler/types.h +@@ -5,6 +5,14 @@ + #ifndef V8_COMPILER_TYPES_H_ + #define V8_COMPILER_TYPES_H_ + ++#ifdef __NetBSD__ ++#include ++#if __NetBSD_Version__ - 0 < 699001700 ++#define nearbyint rint ++#define nearbyintf rintf ++#endif ++#endif ++ + #include "src/conversions.h" + #include "src/handles.h" + #include "src/objects.h" diff --git a/lang/nodejs/patches/patch-deps_v8_src_types.h b/lang/nodejs/patches/patch-deps_v8_src_types.h deleted file mode 100644 index e303fe476ec..00000000000 --- a/lang/nodejs/patches/patch-deps_v8_src_types.h +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-deps_v8_src_types.h,v 1.3 2016/06/02 09:57:32 fhajny Exp $ - -NetBSD 6 doesn't have nearbyint/nearbyintf. - ---- deps/v8/src/types.h.orig 2015-10-29 12:22:04.000000000 +0000 -+++ deps/v8/src/types.h -@@ -5,6 +5,14 @@ - #ifndef V8_TYPES_H_ - #define V8_TYPES_H_ - -+#ifdef __NetBSD__ -+#include -+#if __NetBSD_Version__ - 0 < 699001700 -+#define nearbyint rint -+#define nearbyintf rintf -+#endif -+#endif -+ - #include "src/conversions.h" - #include "src/handles.h" - #include "src/objects.h" -- cgit v1.2.3