Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs12 nodejs12: fix building on NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fce1a80817c
branches:  trunk
changeset: 433003:7fce1a80817c
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 29 07:07:12 2020 +0000

description:
nodejs12: fix building on NetBSD

diffstat:

 lang/nodejs12/distinfo                         |  4 ++--
 lang/nodejs12/patches/patch-src_cares__wrap.cc |  8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 3615721d51b3 -r 7fce1a80817c lang/nodejs12/distinfo
--- a/lang/nodejs12/distinfo    Fri May 29 06:36:24 2020 +0000
+++ b/lang/nodejs12/distinfo    Fri May 29 07:07:12 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2020/05/26 16:50:00 adam Exp $
+$NetBSD: distinfo,v 1.10 2020/05/29 07:07:12 adam Exp $
 
 SHA1 (node-v12.17.0.tar.gz) = dc53d894b4da759a7ee4cd1d96d6e59449503570
 RMD160 (node-v12.17.0.tar.gz) = 55dc3d91e1773f4bfb8a9a6e062c9f82a41169b1
@@ -17,7 +17,7 @@
 SHA1 (patch-deps_v8_src_zone_zone.h) = 651b49d242dac8f713cccc101147ccf61f828ecb
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
-SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704
+SHA1 (patch-src_cares__wrap.cc) = 47876bac39dc1436ca6427b3eb3d6896b47c7d8a
 SHA1 (patch-src_inspector__agent.cc) = 2ec2a7be459648700488096f467a4ae6af5a9d91
 SHA1 (patch-src_node__postmortem__metadata.cc) = 9938482d724ad6636af5dc3fa719ec26ed8539ff
 SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = be3cc1aaa85c3d59b6f2758df813cb5ad8d8f74e
diff -r 3615721d51b3 -r 7fce1a80817c lang/nodejs12/patches/patch-src_cares__wrap.cc
--- a/lang/nodejs12/patches/patch-src_cares__wrap.cc    Fri May 29 06:36:24 2020 +0000
+++ b/lang/nodejs12/patches/patch-src_cares__wrap.cc    Fri May 29 07:07:12 2020 +0000
@@ -1,15 +1,17 @@
-$NetBSD: patch-src_cares__wrap.cc,v 1.1 2019/12/09 20:05:40 adam Exp $
+$NetBSD: patch-src_cares__wrap.cc,v 1.2 2020/05/29 07:07:12 adam Exp $
 
 NetBSD has no AI_V4MAPPED.
 
---- src/cares_wrap.cc.orig     2017-05-30 17:32:13.000000000 +0000
+--- src/cares_wrap.cc.orig     2020-05-26 11:53:34.000000000 +0000
 +++ src/cares_wrap.cc
-@@ -47,7 +47,7 @@
+@@ -49,8 +49,9 @@
  # include <arpa/nameser.h>
  #endif
  
 -#if defined(__OpenBSD__)
 +#if defined(__OpenBSD__) || defined(__NetBSD__)
  # define AI_V4MAPPED 0
++# define AI_ALL 0
  #endif
  
+ namespace node {



Home | Main Index | Thread Index | Old Index