summaryrefslogtreecommitdiff
path: root/lang/nodejs
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2017-08-16 11:52:19 +0000
committerfhajny <fhajny@pkgsrc.org>2017-08-16 11:52:19 +0000
commit24cd8e389f3b0014666b1fb4109d8992aedadb36 (patch)
treeb07a1ff10a6a0c13ff924ec26469b02eb489ed6a /lang/nodejs
parent9526a25e428e92d6d3ad1eac21458b12bd35272e (diff)
downloadpkgsrc-24cd8e389f3b0014666b1fb4109d8992aedadb36.tar.gz
Update lang/nodejs to 8.4.0.
Update lang/nodejs to 8.4.0. ## 2017-08-15, Version 8.4.0 (Current), @addaleax - HTTP2 - Experimental support for the built-in `http2` has been added via the `--expose-http2` flag. - Inspector - `require()` is available in the inspector console now. - Multiple contexts, as created by the `vm` module, are supported now. - N-API - New APIs for creating number values have been introduced. - Stream - For `Duplex` streams, the high water mark option can now be set independently for the readable and the writable side. - Util - `util.format` now supports the `%o` and `%O` specifiers for printing objects. ## 2017-08-09, Version 8.3.0 (Current), @addaleax The V8 engine has been upgraded to version 6.0, which has a significantly changed performance profile. - DNS - Independent DNS resolver instances are supported now, with support for cancelling the corresponding requests. - N-API - Multiple N-API functions for error handling have been changed to support assigning error codes. - REPL - Autocompletion support for `require()` has been improved. - Utilities - The WHATWG Encoding Standard (`TextDecoder` and `TextEncoder`) has been implemented as an experimental feature.
Diffstat (limited to 'lang/nodejs')
-rw-r--r--lang/nodejs/Makefile4
-rw-r--r--lang/nodejs/PLIST3
-rw-r--r--lang/nodejs/distinfo12
-rw-r--r--lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-openbsd.cc10
4 files changed, 15 insertions, 14 deletions
diff --git a/lang/nodejs/Makefile b/lang/nodejs/Makefile
index c0b5e2c0ba4..d74b3738e56 100644
--- a/lang/nodejs/Makefile
+++ b/lang/nodejs/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.104 2017/08/02 17:31:45 fhajny Exp $
+# $NetBSD: Makefile,v 1.105 2017/08/16 11:52:19 fhajny Exp $
-DISTNAME= node-v8.2.1
+DISTNAME= node-v8.4.0
# Stated by the changelog as of 8.2.0
GCC_REQD+= 4.9.4
diff --git a/lang/nodejs/PLIST b/lang/nodejs/PLIST
index 501a6761210..eaa76eea454 100644
--- a/lang/nodejs/PLIST
+++ b/lang/nodejs/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2017/08/02 17:31:45 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.50 2017/08/16 11:52:19 fhajny Exp $
bin/node
bin/npm
bin/npx
@@ -37,6 +37,7 @@ include/node/v8-platform.h
include/node/v8-profiler.h
include/node/v8-testing.h
include/node/v8-util.h
+include/node/v8-value-serializer-version.h
include/node/v8-version-string.h
include/node/v8-version.h
include/node/v8.h
diff --git a/lang/nodejs/distinfo b/lang/nodejs/distinfo
index 00ef219561d..768d9dac340 100644
--- a/lang/nodejs/distinfo
+++ b/lang/nodejs/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.101 2017/08/02 17:31:45 fhajny Exp $
+$NetBSD: distinfo,v 1.102 2017/08/16 11:52:19 fhajny Exp $
-SHA1 (node-v8.2.1.tar.gz) = 6e48f8aefb6383c05dd03b241f90f4bac76864f6
-RMD160 (node-v8.2.1.tar.gz) = d5dad83c9a2b4415ebd6f1d98a5482128e07791d
-SHA512 (node-v8.2.1.tar.gz) = a5a6368262d63305f33c96a4165d28aa2f35205cd7c1e76c733a5ca5af6e58505f343b05add644b92a022a22a923b1957597112ea48072636e5602fc0b1a896e
-Size (node-v8.2.1.tar.gz) = 30334692 bytes
+SHA1 (node-v8.4.0.tar.gz) = 6a02da5dbc96f0aa7c6914ca596bbbd0b25f2555
+RMD160 (node-v8.4.0.tar.gz) = 71054ae1116aaba8e253dc3811b292c2113a7b2d
+SHA512 (node-v8.4.0.tar.gz) = 513a7bc21850d5b6c8741557c09d85a5ed5569c0d66ab52d2f9bc0397bfd99448c37aacd120fc08e8bb7342b4ce5447336c23914a9fc800c97754faf13d5e61a
+Size (node-v8.4.0.tar.gz) = 30975247 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
@@ -13,7 +13,7 @@ SHA1 (patch-deps_uv_src_unix_netbsd.c) = c3e4b3c183c6cbe838e212f1115f69450765461
SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d
SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da
SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 686c2054838a25cfeed7fb9870a959e48dc4de35
-SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 0abf6a541f24da87dbbd22f57abcd5534999b3df
+SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 675ea0ee7c443c539b9c50fd13bd31b5a23ef146
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) = 711cc94535200374104c3cd1f0fbbd00994701a6
diff --git a/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-openbsd.cc b/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-openbsd.cc
index d31cfcff6c3..351259eb97e 100644
--- a/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-openbsd.cc
+++ b/lang/nodejs/patches/patch-deps_v8_src_base_platform_platform-openbsd.cc
@@ -1,8 +1,8 @@
-$NetBSD: patch-deps_v8_src_base_platform_platform-openbsd.cc,v 1.1 2015/10/21 23:46:28 jmcneill Exp $
+$NetBSD: patch-deps_v8_src_base_platform_platform-openbsd.cc,v 1.2 2017/08/16 11:52:19 fhajny Exp $
---- deps/v8/src/base/platform/platform-openbsd.cc.orig 2015-10-13 17:20:07.000000000 +0000
+--- deps/v8/src/base/platform/platform-openbsd.cc.orig 2017-08-15 16:42:29.000000000 +0000
+++ deps/v8/src/base/platform/platform-openbsd.cc
-@@ -34,6 +34,48 @@
+@@ -33,6 +33,48 @@
namespace v8 {
namespace base {
@@ -48,6 +48,6 @@ $NetBSD: patch-deps_v8_src_base_platform_platform-openbsd.cc,v 1.1 2015/10/21 23
+
+#endif // def __arm__
+
+ TimezoneCache* OS::CreateTimezoneCache() { return new PosixTimezoneCache(); }
- const char* OS::LocalTimezone(double time, TimezoneCache* cache) {
- if (std::isnan(time)) return "";
+ void* OS::Allocate(const size_t requested, size_t* allocated,