1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

www/node14: Update 14.16.1_1 -> 14.17.0

https://nodejs.org/en/blog/release/v14.17.0/

Remove files/patch-tools_genv8constants.py which had a change that was
incompatible with an upstream change to make the tool compatible with
Python 3. Regenerate remaining patches with `make makepatch`.

Sponsored by:	Miles AS
This commit is contained in:
Bradley T. Hughes 2021-05-17 21:06:49 +00:00
parent b0bc46a3ba
commit c4b166dc9a
No known key found for this signature in database
GPG Key ID: B12E03CA55A31C15
4 changed files with 9 additions and 21 deletions

View File

@ -1,7 +1,6 @@
PORTNAME= node
DISTVERSIONPREFIX= v
DISTVERSION= 14.16.1
PORTREVISION= 1
DISTVERSION= 14.17.0
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${DISTVERSION}/
PKGNAMESUFFIX= 14
@ -71,9 +70,9 @@ MAKE_ENV+= CC.host=${CC} CFLAGS.host="${CFLAGS}" \
LINK.host=${CXX} LDFLAGS.host="${LDFLAGS}"
BUILD_DEPENDS+= brotli>=1.0.9,1:archivers/brotli \
c-ares>=1.16.1:dns/c-ares \
libuv>=1.40.0:devel/libuv \
libnghttp2>=1.41.0:www/libnghttp2 \
c-ares>=1.17.1:dns/c-ares \
libuv>=1.41.0:devel/libuv \
libnghttp2>=1.42.0:www/libnghttp2 \
objdump:devel/binutils
LIB_DEPENDS+= libbrotlidec.so:archivers/brotli \
libcares.so:dns/c-ares\

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1617772796
SHA256 (node-v14.16.1.tar.gz) = 5f5080427abddde7f22fd2ba77cd2b8a1f86253277a1eec54bc98a202728ce80
SIZE (node-v14.16.1.tar.gz) = 63152272
TIMESTAMP = 1621284032
SHA256 (node-v14.17.0.tar.gz) = 6114e82d3256136dc85a509d835442fbdf2f8430dcd8bfa7c304097344d06fb7
SIZE (node-v14.17.0.tar.gz) = 63562031

View File

@ -1,6 +1,6 @@
--- deps/v8/src/libsampler/sampler.cc.orig 2020-06-30 17:49:17 UTC
--- deps/v8/src/libsampler/sampler.cc.orig 2021-05-11 18:47:47 UTC
+++ deps/v8/src/libsampler/sampler.cc
@@ -482,6 +482,10 @@ void SignalHandler::FillRegisterState(void* context, R
@@ -489,6 +489,10 @@ void SignalHandler::FillRegisterState(void* context, R
state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]);
state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]);
state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]);

View File

@ -1,11 +0,0 @@
--- tools/genv8constants.py.orig 2020-08-20 20:43:20 UTC
+++ tools/genv8constants.py
@@ -20,7 +20,7 @@ if len(sys.argv) != 3:
outfile = open(sys.argv[1], 'w')
try:
pipe = subprocess.Popen([ 'objdump', '-z', '-D', sys.argv[2] ],
- bufsize=-1, stdout=subprocess.PIPE).stdout
+ bufsize=-1, stdout=subprocess.PIPE, universal_newlines=True).stdout
except OSError as e:
if e.errno == errno.ENOENT:
print('''