pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs nodejs: Fix build under NetBSD



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b53202cb2856
branches:  trunk
changeset: 427488:b53202cb2856
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Apr 17 10:57:02 2020 +0000

description:
nodejs: Fix build under NetBSD

diffstat:

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

diffs (42 lines):

diff -r ddb9406c0e59 -r b53202cb2856 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo      Fri Apr 17 09:18:54 2020 +0000
+++ b/lang/nodejs/distinfo      Fri Apr 17 10:57:02 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.167 2020/04/17 07:51:55 adam Exp $
+$NetBSD: distinfo,v 1.168 2020/04/17 10:57:02 ryoon Exp $
 
 SHA1 (node-v13.13.0.tar.xz) = f51c5ef8fac4c49743126123c9083aff2e54f3a4
 RMD160 (node-v13.13.0.tar.xz) = 2ce04174bf52b60db7cdc091b7e76403f72c628c
@@ -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) = ff04586c37b1d3b09a549c0a23a11814d19b2cea
 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 ddb9406c0e59 -r b53202cb2856 lang/nodejs/patches/patch-src_cares__wrap.cc
--- a/lang/nodejs/patches/patch-src_cares__wrap.cc      Fri Apr 17 09:18:54 2020 +0000
+++ b/lang/nodejs/patches/patch-src_cares__wrap.cc      Fri Apr 17 10:57:02 2020 +0000
@@ -1,15 +1,17 @@
-$NetBSD: patch-src_cares__wrap.cc,v 1.2 2017/06/05 21:14:04 fhajny Exp $
+$NetBSD: patch-src_cares__wrap.cc,v 1.3 2020/04/17 10:57:02 ryoon 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-04-14 16:40:37.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