1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

www/node: Update 14.4.0 -> 14.5.0

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

Refresh patches with `make makepatch`, and adapt them to the changes
from upstream due to the V8 upgrade.

Sponsored by:	Miles AS
This commit is contained in:
Bradley T. Hughes 2020-07-06 22:19:42 +00:00
parent 942b0330c4
commit 0e16d9b8ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541372
8 changed files with 30 additions and 22 deletions

View File

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

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1591883644
SHA256 (node-v14.4.0.tar.gz) = 5769ce6cf619e3f38dab9d64eab204722665b8b0f5bd2568ac171e2edc6db7f7
SIZE (node-v14.4.0.tar.gz) = 61658009
TIMESTAMP = 1593988284
SHA256 (node-v14.5.0.tar.gz) = 6de72f993f3c6b852cfd2cee6cbc09ab52f2d96145ec919b6d2ad0747ea8c3ae
SIZE (node-v14.5.0.tar.gz) = 61939233

View File

@ -1,6 +1,6 @@
--- deps/v8/src/base/platform/platform-freebsd.cc.orig 2020-01-07 22:07:49 UTC
--- deps/v8/src/base/platform/platform-freebsd.cc.orig 2020-06-30 17:49:16 UTC
+++ deps/v8/src/base/platform/platform-freebsd.cc
@@ -81,8 +81,8 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
@@ -82,8 +82,8 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
lib_name = std::string(path);
}
result.push_back(SharedLibraryAddress(
@ -11,7 +11,7 @@
}
start += ssize;
@@ -93,6 +93,48 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
@@ -94,6 +94,48 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib
}
void OS::SignalCodeMovingGC() {}

View File

@ -1,18 +1,18 @@
--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2019-09-09 16:27:17 UTC
--- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2020-06-30 17:49:17 UTC
+++ deps/v8/src/codegen/ppc/constants-ppc.h
@@ -34,7 +34,7 @@
#define ABI_PASSES_HANDLES_IN_REGS 0
@@ -36,7 +36,7 @@
#endif
-#if !V8_HOST_ARCH_PPC || !V8_TARGET_ARCH_PPC64 || V8_TARGET_LITTLE_ENDIAN || \
+#if !V8_HOST_ARCH_PPC || !V8_TARGET_ARCH_PPC64 || \
(defined(_CALL_ELF) && _CALL_ELF == 2)
#if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || !V8_TARGET_ARCH_PPC64 || \
- V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)
+ (defined(_CALL_ELF) && _CALL_ELF == 2)
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1
#else
@@ -43,7 +43,7 @@
#define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0
@@ -44,7 +44,7 @@
#if !V8_HOST_ARCH_PPC || \
(V8_TARGET_ARCH_PPC64 && \
#if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || \
(V8_TARGET_ARCH_PPC64 && \
- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2)))
+ (defined(_CALL_ELF) && _CALL_ELF == 2))
#define ABI_CALL_VIA_IP 1

View File

@ -1,6 +1,6 @@
--- deps/v8/src/compiler/backend/instruction-selector.cc.orig 2020-04-21 11:38:50 UTC
--- deps/v8/src/compiler/backend/instruction-selector.cc.orig 2020-06-30 17:49:17 UTC
+++ deps/v8/src/compiler/backend/instruction-selector.cc
@@ -2783,7 +2783,7 @@ void InstructionSelector::VisitCall(Node* node, BasicB
@@ -2779,7 +2779,7 @@ void InstructionSelector::VisitCall(Node* node, BasicB
switch (call_descriptor->kind()) {
case CallDescriptor::kCallAddress: {
int misc_field = static_cast<int>(call_descriptor->ParameterCount());

View File

@ -1,9 +1,9 @@
--- deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc.orig 2020-04-21 11:38:50 UTC
--- deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc.orig 2020-06-30 17:49:17 UTC
+++ deps/v8/src/compiler/backend/ppc/code-generator-ppc.cc
@@ -1032,7 +1032,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleAr
bool isWasmCapiFunction =
linkage()->GetIncomingDescriptor()->IsWasmCapiFunction();
int offset = 9 * kInstrSize;
int offset = 20 * kInstrSize;
-#if defined(_AIX)
+#if defined(_AIX) || (V8_TARGET_ARCH_PPC_BE && (!defined(_CALL_ELF) || _CALL_ELF == 1))
// AIX/PPC64BE Linux uses a function descriptor

View File

@ -1,6 +1,6 @@
--- deps/v8/src/libsampler/sampler.cc.orig 2020-04-21 11:38:50 UTC
--- deps/v8/src/libsampler/sampler.cc.orig 2020-06-30 17:49:17 UTC
+++ deps/v8/src/libsampler/sampler.cc
@@ -480,6 +480,10 @@ void SignalHandler::FillRegisterState(void* context, R
@@ -482,6 +482,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,6 +1,13 @@
bin/node
include/node/common.gypi
include/node/config.gypi
include/node/cppgc/allocation.h
include/node/cppgc/finalizer-trait.h
include/node/cppgc/garbage-collected.h
include/node/cppgc/gc-info.h
include/node/cppgc/heap.h
include/node/cppgc/internals.h
include/node/cppgc/platform.h
include/node/js_native_api.h
include/node/js_native_api_types.h
include/node/libplatform/libplatform.h
@ -444,6 +451,7 @@ include/node/node_version.h
%%BUNDLED_SSL%%include/node/openssl/x509err.h
%%BUNDLED_SSL%%include/node/openssl/x509v3.h
%%BUNDLED_SSL%%include/node/openssl/x509v3err.h
include/node/v8-fast-api-calls.h
include/node/v8-internal.h
include/node/v8-platform.h
include/node/v8-profiler.h