www/node: Update 10.3.0 -> 10.4.0

https://nodejs.org/en/blog/release/v10.4.0/

Remove files/patch-deps_v8_src_base_cpu.cc, which has been applied
upstream and is no longer necessary (as reported in PR 228779). Other
patches have been refreshed as needed with `make makepatch`.

PR:		228779
Reported by:	Sylvain Garrigues <sylvain@sylvaingarrigues.com>
Sponsored by:	Miles AS
This commit is contained in:
Bradley T. Hughes
2018-06-08 18:43:11 +00:00
parent b4fe9d96d0
commit 309474009e
4 changed files with 6 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= node
PORTVERSION= 10.3.0
PORTVERSION= 10.4.0
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/

View File

@@ -1,3 +1,3 @@
TIMESTAMP = 1527624306
SHA256 (node-v10.3.0.tar.gz) = e9f79ebe7181a63c39a986506e515cbea2a010c7ee7f5e1f108bb2203712aa0d
SIZE (node-v10.3.0.tar.gz) = 35193426
TIMESTAMP = 1528347983
SHA256 (node-v10.4.0.tar.gz) = 88d9c8179bde19e057cd1d8b835b50726e4c94f8418c91472001e212da96d290
SIZE (node-v10.4.0.tar.gz) = 35357659

View File

@@ -1,19 +0,0 @@
--- deps/v8/src/base/cpu.cc.orig 2018-04-23 19:19:12 UTC
+++ deps/v8/src/base/cpu.cc
@@ -424,6 +424,7 @@ CPU::CPU()
#if V8_OS_LINUX
+#if V8_OS_LINUX
CPUInfo cpu_info;
// Extract implementor from the "CPU implementer" field.
@@ -457,6 +458,8 @@ CPU::CPU()
}
delete[] part;
}
+
+#endif // V8_OS_LINUX
// Extract architecture from the "CPU Architecture" field.
// The list is well-known, unlike the the output of

View File

@@ -1,6 +1,6 @@
--- node.gypi.orig 2018-04-30 18:52:35 UTC
--- node.gypi.orig 2018-06-06 12:52:40 UTC
+++ node.gypi
@@ -298,6 +298,9 @@
@@ -294,6 +294,9 @@
['openssl_fips != ""', {
'defines': [ 'NODE_FIPS_MODE' ],
}],