pkgsrc/lang/nodejs8/patches/patch-src_cares__wrap.cc
fhajny 4ead62abd1 Import nodejs-8.9.0 (LTS) as lang/nodejs8.
Changes since nodejs 8.8.1:

- doc: add Gibson Fahnestock to Release team
- deps: update npm to 5.5.1
- http2: The exposed http2 socket is no longer manipulatable
- module: support custom paths to require.resolve()
- util: util.TextEncoder and util.TextDecoder are no longer experimental.
  There will no longer be a warning when they are used
2017-11-01 12:07:31 +00:00

15 lines
352 B
C++

$NetBSD: patch-src_cares__wrap.cc,v 1.1 2017/11/01 12:07:31 fhajny Exp $
NetBSD has no AI_V4MAPPED.
--- src/cares_wrap.cc.orig 2017-05-30 17:32:13.000000000 +0000
+++ src/cares_wrap.cc
@@ -47,7 +47,7 @@
# include <arpa/nameser.h>
#endif
-#if defined(__OpenBSD__)
+#if defined(__OpenBSD__) || defined(__NetBSD__)
# define AI_V4MAPPED 0
#endif