pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nodejs12 nodejs12: updated to 12.16.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a23da5bfeb8
branches:  trunk
changeset: 423714:4a23da5bfeb8
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Feb 24 16:02:40 2020 +0000

description:
nodejs12: updated to 12.16.1

Version 12.16.1 'Erbium' (LTS):
Node.js 12.16.0 included 6 regressions that are being fixed in this release

Version 12.16.0 'Erbium' (LTS):
New assert APIs
Advanced serialization for IPC
CLI flags
New crypto APIs
Dependency updates

diffstat:

 lang/nodejs12/Makefile                                                    |   4 +-
 lang/nodejs12/distinfo                                                    |  14 ++--
 lang/nodejs12/patches/patch-common.gypi                                   |   8 +-
 lang/nodejs12/patches/patch-deps_v8_src_base_platform_platform-freebsd.cc |  35 +++++----
 4 files changed, 31 insertions(+), 30 deletions(-)

diffs (112 lines):

diff -r 7fcbf9b46632 -r 4a23da5bfeb8 lang/nodejs12/Makefile
--- a/lang/nodejs12/Makefile    Mon Feb 24 14:38:36 2020 +0000
+++ b/lang/nodejs12/Makefile    Mon Feb 24 16:02:40 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/02/18 23:06:05 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2020/02/24 16:02:40 adam Exp $
 
-DISTNAME=      node-v12.15.0
+DISTNAME=      node-v12.16.1
 
 USE_LANGUAGES= c gnu++14
 
diff -r 7fcbf9b46632 -r 4a23da5bfeb8 lang/nodejs12/distinfo
--- a/lang/nodejs12/distinfo    Mon Feb 24 14:38:36 2020 +0000
+++ b/lang/nodejs12/distinfo    Mon Feb 24 16:02:40 2020 +0000
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.5 2020/02/07 09:51:09 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/02/24 16:02:40 adam Exp $
 
-SHA1 (node-v12.15.0.tar.gz) = a5cf078761723aaaa92f5db0cecc50548bee84b5
-RMD160 (node-v12.15.0.tar.gz) = a160fa2e79f71ab82e1b40649e89a05455f22e88
-SHA512 (node-v12.15.0.tar.gz) = b1c5412b27b85e286f7f5e6758f30659655f18570e9b114d6743cea98e902297f0bd591ffe36e2a4483a3b9e5138f5f82f5975131eaab72495a477f960b938e0
-Size (node-v12.15.0.tar.gz) = 51845369 bytes
-SHA1 (patch-common.gypi) = de37949f38d9bd39a18b59d59ec74e528bd323ac
+SHA1 (node-v12.16.1.tar.gz) = 60ae368b800b3f4080eb0858f00b1138a83db159
+RMD160 (node-v12.16.1.tar.gz) = 177740c7bde6940bcd260c10be365ce2081778ec
+SHA512 (node-v12.16.1.tar.gz) = 117908922565a86a15f55456e6b62b2d826db175189b03b3890e04d7d65388ccae88b9b6ddc97e700e0821b60b40e3a658eabf17251c4e89ef84d506b0c3d84d
+Size (node-v12.16.1.tar.gz) = 52290732 bytes
+SHA1 (patch-common.gypi) = a3fa3b5b974f910b3c8fea640ded4dca262e1ba8
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
 SHA1 (patch-deps_uv_common.gypi) = d38a9c8d9e3522f15812aec2f5b1e1e636d4bab3
 SHA1 (patch-deps_v8_src_base_atomicops.h) = d1ef20a3fee1d188687bd76836ada6f2c8e0787f
-SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 427c7712fc1c2872fc48e593f7ab491c69ee44e3
+SHA1 (patch-deps_v8_src_base_platform_platform-freebsd.cc) = 1c8aea6dca18159740212de221e467c70796bcd5
 SHA1 (patch-deps_v8_src_base_platform_platform-openbsd.cc) = 5e593879dbab095f99e82593272a0de91043f9a8
 SHA1 (patch-deps_v8_src_base_platform_platform-posix.cc) = 0d80cc6587af9220832de112834e9f50242f819f
 SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
diff -r 7fcbf9b46632 -r 4a23da5bfeb8 lang/nodejs12/patches/patch-common.gypi
--- a/lang/nodejs12/patches/patch-common.gypi   Mon Feb 24 14:38:36 2020 +0000
+++ b/lang/nodejs12/patches/patch-common.gypi   Mon Feb 24 16:02:40 2020 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-common.gypi,v 1.1 2019/12/09 20:05:40 adam Exp $
+$NetBSD: patch-common.gypi,v 1.2 2020/02/24 16:02:40 adam Exp $
 
 Add support for NetBSD.
 
---- common.gypi.orig   2018-04-24 14:41:15.000000000 +0000
+--- common.gypi.orig   2020-02-18 05:08:31.000000000 +0000
 +++ common.gypi
-@@ -315,11 +315,11 @@
+@@ -354,11 +354,11 @@
            'BUILDING_UV_SHARED=1',
          ],
        }],
@@ -17,4 +17,4 @@
 +      [ 'OS in "linux freebsd openbsd netbsd netbsd solaris android aix cloudabi"', {
          'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
          'cflags_cc': [ '-fno-rtti', '-fno-exceptions', '-std=gnu++1y' ],
-         'ldflags': [ '-rdynamic' ],
+         'defines': [ '__STDC_FORMAT_MACROS' ],
diff -r 7fcbf9b46632 -r 4a23da5bfeb8 lang/nodejs12/patches/patch-deps_v8_src_base_platform_platform-freebsd.cc
--- a/lang/nodejs12/patches/patch-deps_v8_src_base_platform_platform-freebsd.cc Mon Feb 24 14:38:36 2020 +0000
+++ b/lang/nodejs12/patches/patch-deps_v8_src_base_platform_platform-freebsd.cc Mon Feb 24 16:02:40 2020 +0000
@@ -1,30 +1,31 @@
-$NetBSD: patch-deps_v8_src_base_platform_platform-freebsd.cc,v 1.1 2019/12/09 20:05:40 adam Exp $
+$NetBSD: patch-deps_v8_src_base_platform_platform-freebsd.cc,v 1.2 2020/02/24 16:02:40 adam Exp $
 
 Overlapping variables, taken from https://github.com/joyent/node/issues/9175
 
---- deps/v8/src/base/platform/platform-freebsd.cc.orig 2018-04-24 14:41:24.000000000 +0000
+--- deps/v8/src/base/platform/platform-freebsd.cc.orig 2020-02-18 05:08:33.000000000 +0000
 +++ deps/v8/src/base/platform/platform-freebsd.cc
-@@ -45,10 +45,10 @@ static unsigned StringToLong(char* buffe
+@@ -47,7 +47,7 @@ static unsigned StringToLong(char* buffe
  }
  
  std::vector<OS::SharedLibraryAddress> OS::GetSharedLibraryAddresses() {
 -  std::vector<SharedLibraryAddress> result;
 +  std::vector<SharedLibraryAddress> address_result;
-   static const int MAP_LENGTH = 1024;
-   int fd = open("/proc/self/maps", O_RDONLY);
--  if (fd < 0) return result;
-+  if (fd < 0) return address_result;
-   while (true) {
-     char addr_buffer[11];
-     addr_buffer[0] = '0';
-@@ -78,10 +78,10 @@ std::vector<OS::SharedLibraryAddress> OS
-     // There may be no filename in this line.  Skip to next.
-     if (start_of_path == nullptr) continue;
-     buffer[bytes_read] = 0;
--    result.push_back(SharedLibraryAddress(start_of_path, start, end));
-+    address_result.push_back(SharedLibraryAddress(start_of_path, start, end));
+   int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, getpid()};
+   size_t miblen = sizeof(mib) / sizeof(mib[0]);
+   size_t buffer_size;
+@@ -80,7 +80,7 @@ std::vector<OS::SharedLibraryAddress> OS
+           } else {
+             lib_name = std::string(path);
+           }
+-          result.push_back(SharedLibraryAddress(
++          address_result.push_back(SharedLibraryAddress(
+               lib_name, reinterpret_cast<uintptr_t>(map->kve_start),
+               reinterpret_cast<uintptr_t>(map->kve_end)));
+         }
+@@ -89,7 +89,7 @@ std::vector<OS::SharedLibraryAddress> OS
+       }
+     }
    }
-   close(fd);
 -  return result;
 +  return address_result;
  }



Home | Main Index | Thread Index | Old Index