Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2020 22:19:43 +0000 (UTC)
From:      "Bradley T. Hughes" <bhughes@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r541372 - in head/www/node: . files
Message-ID:  <202007062219.066MJhkX098822@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bhughes
Date: Mon Jul  6 22:19:42 2020
New Revision: 541372
URL: https://svnweb.freebsd.org/changeset/ports/541372

Log:
  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

Modified:
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
  head/www/node/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h
  head/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc
  head/www/node/files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc
  head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
  head/www/node/pkg-plist

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/Makefile	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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}/

Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/distinfo	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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

Modified: head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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() {}

Modified: head/www/node/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h
==============================================================================
--- head/www/node/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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

Modified: head/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/files/patch-deps_v8_src_compiler_backend_instruction-selector.cc	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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());

Modified: head/www/node/files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/files/patch-deps_v8_src_compiler_backend_ppc_code-generator-ppc.cc	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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

Modified: head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/files/patch-deps_v8_src_libsampler_sampler.cc	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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]);

Modified: head/www/node/pkg-plist
==============================================================================
--- head/www/node/pkg-plist	Mon Jul  6 21:59:42 2020	(r541371)
+++ head/www/node/pkg-plist	Mon Jul  6 22:19:42 2020	(r541372)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007062219.066MJhkX098822>