Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-src_cares__wrap.cc,v 1.1 2015/11/09 20:21:51 fhajny Exp $
NetBSD has no AI_V4MAPPED.
--- src/cares_wrap.cc.orig 2015-03-31 22:13:01.000000000 +0000
+++ src/cares_wrap.cc
@@ -1301,8 +1301,10 @@ static void Initialize(Handle<Object> ta
Integer::New(env->isolate(), AF_UNSPEC));
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "AI_ADDRCONFIG"),
Integer::New(env->isolate(), AI_ADDRCONFIG));
+#if defined(AI_V4MAPPED)
target->Set(FIXED_ONE_BYTE_STRING(env->isolate(), "AI_V4MAPPED"),
Integer::New(env->isolate(), AI_V4MAPPED));
+#endif
Local<FunctionTemplate> aiw =
FunctionTemplate::New(env->isolate(), NewGetAddrInfoReqWrap);