From owner-svn-ports-all@freebsd.org Mon Jul 6 22:19:45 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1954034A713; Mon, 6 Jul 2020 22:19:45 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B10Nw6vK7z4f7p; Mon, 6 Jul 2020 22:19:44 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CFFA72558E; Mon, 6 Jul 2020 22:19:44 +0000 (UTC) (envelope-from bhughes@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 066MJiG2098829; Mon, 6 Jul 2020 22:19:44 GMT (envelope-from bhughes@FreeBSD.org) Received: (from bhughes@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 066MJhkX098822; Mon, 6 Jul 2020 22:19:43 GMT (envelope-from bhughes@FreeBSD.org) Message-Id: <202007062219.066MJhkX098822@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bhughes set sender to bhughes@FreeBSD.org using -f From: "Bradley T. Hughes" Date: Mon, 6 Jul 2020 22:19:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541372 - in head/www/node: . files X-SVN-Group: ports-head X-SVN-Commit-Author: bhughes X-SVN-Commit-Paths: in head/www/node: . files X-SVN-Commit-Revision: 541372 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2020 22:19:45 -0000 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::GetSharedLib +@@ -82,8 +82,8 @@ std::vector OS::GetSharedLib lib_name = std::string(path); } result.push_back(SharedLibraryAddress( @@ -11,7 +11,7 @@ } start += ssize; -@@ -93,6 +93,48 @@ std::vector OS::GetSharedLib +@@ -94,6 +94,48 @@ std::vector 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(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(mcontext.__gregs[_REG_PC]); state->sp = reinterpret_cast(mcontext.__gregs[_REG_SP]); state->fp = reinterpret_cast(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