Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2017 12:53:18 +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: r447673 - in head/www/node: . files
Message-ID:  <201708101253.v7ACrIHH091427@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bhughes
Date: Thu Aug 10 12:53:18 2017
New Revision: 447673
URL: https://svnweb.freebsd.org/changeset/ports/447673

Log:
  www/node: Update 8.2.1 -> 8.3.0
  
  - Revert libc++ workaround from r444555, since upstream has fixed the
    issue differently.
  - Refresh patches with 'make makepatch'
  
  Approved by:	mat (co-mentor)
  Differential Revision:	https://reviews.freebsd.org/D11949

Deleted:
  head/www/node/files/patch-common.gypi
Modified:
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node/files/patch-deps_v8_src_base_cpu.cc
  head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc
  head/www/node/pkg-plist

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Thu Aug 10 11:53:46 2017	(r447672)
+++ head/www/node/Makefile	Thu Aug 10 12:53:18 2017	(r447673)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	8.2.1
+PORTVERSION=	8.3.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
@@ -82,18 +82,6 @@ CONFIGURE_ARGS+=--openssl-no-asm
 .if ${COMPILER_TYPE} == gcc
 # GCC does not expose std::snprintf() without this define
 CXXFLAGS+=	-D_GLIBCXX_USE_C99
-.endif
-
-.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 40
-# Conditinal work around for a bug in libc++ included with clang 3.x:
-# https://bugs.llvm.org/show_bug.cgi?id=18249
-# https://bugs.llvm.org/show_bug.cgi?id=18350
-# https://bugs.llvm.org/show_bug.cgi?id=18853
-#
-# Upstream Node.js adds the define to all FreeBSD builds. This breaks
-# the build with clang 4.0, so we patch it out (files/patch-common.gypi)
-# and add it here instead.
-CXXFLAGS+=	-D_LIBCPP_TRIVIAL_PAIR_COPY_CTOR
 .endif
 
 .if ${PORT_OPTIONS:MDTRACE}

Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo	Thu Aug 10 11:53:46 2017	(r447672)
+++ head/www/node/distinfo	Thu Aug 10 12:53:18 2017	(r447673)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500933063
-SHA256 (node-v8.2.1.tar.gz) = 66fe1379bc7daf9a16c6b5c45ab695bf1cdcfae9738d2989e940104d6b31973f
-SIZE (node-v8.2.1.tar.gz) = 30334692
+TIMESTAMP = 1502344455
+SHA256 (node-v8.3.0.tar.gz) = 33fa7a02f265636c240be9ebd0f93942f77856a9c2c751592da1a0962b6ed010
+SIZE (node-v8.3.0.tar.gz) = 30588563

Modified: head/www/node/files/patch-deps_v8_src_base_cpu.cc
==============================================================================
--- head/www/node/files/patch-deps_v8_src_base_cpu.cc	Thu Aug 10 11:53:46 2017	(r447672)
+++ head/www/node/files/patch-deps_v8_src_base_cpu.cc	Thu Aug 10 12:53:18 2017	(r447673)
@@ -1,6 +1,6 @@
---- deps/v8/src/base/cpu.cc.orig	2017-06-19 14:24:53.928317000 +0000
-+++ deps/v8/src/base/cpu.cc	2017-06-19 14:24:57.294664000 +0000
-@@ -601,6 +601,7 @@
+--- deps/v8/src/base/cpu.cc.orig	2017-08-09 18:48:10 UTC
++++ deps/v8/src/base/cpu.cc
+@@ -607,6 +607,7 @@ CPU::CPU()
  
  #elif V8_HOST_ARCH_ARM64
  
@@ -8,7 +8,7 @@
    CPUInfo cpu_info;
  
    // Extract implementor from the "CPU implementer" field.
-@@ -634,6 +635,8 @@
+@@ -640,6 +641,8 @@ CPU::CPU()
      }
      delete[] part;
    }

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	Thu Aug 10 11:53:46 2017	(r447672)
+++ head/www/node/files/patch-deps_v8_src_base_platform_platform-freebsd.cc	Thu Aug 10 12:53:18 2017	(r447673)
@@ -1,8 +1,8 @@
---- deps/v8/src/base/platform/platform-freebsd.cc.orig	2017-06-15 11:55:21 UTC
+--- deps/v8/src/base/platform/platform-freebsd.cc.orig	2017-08-09 18:48:10 UTC
 +++ deps/v8/src/base/platform/platform-freebsd.cc
-@@ -35,6 +35,48 @@
- namespace v8 {
- namespace base {
+@@ -48,6 +48,48 @@ void* OS::Allocate(const size_t requested, size_t* all
+   return mbase;
+ }
  
 +#ifdef __arm__
 +
@@ -47,5 +47,5 @@
 +#endif  // def __arm__
 +
  
- const char* OS::LocalTimezone(double time, TimezoneCache* cache) {
-   if (std::isnan(time)) return "";
+ static unsigned StringToLong(char* buffer) {
+   return static_cast<unsigned>(strtol(buffer, NULL, 16));  // NOLINT

Modified: head/www/node/pkg-plist
==============================================================================
--- head/www/node/pkg-plist	Thu Aug 10 11:53:46 2017	(r447672)
+++ head/www/node/pkg-plist	Thu Aug 10 12:53:18 2017	(r447673)
@@ -111,6 +111,7 @@ include/node/v8-platform.h
 include/node/v8-profiler.h
 include/node/v8-testing.h
 include/node/v8-util.h
+include/node/v8-value-serializer-version.h
 include/node/v8-version.h
 include/node/v8-version-string.h
 include/node/v8.h



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