summaryrefslogtreecommitdiff
path: root/lang/nodejs4/patches/patch-deps_cares_cares.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'lang/nodejs4/patches/patch-deps_cares_cares.gyp')
-rw-r--r--lang/nodejs4/patches/patch-deps_cares_cares.gyp16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/nodejs4/patches/patch-deps_cares_cares.gyp b/lang/nodejs4/patches/patch-deps_cares_cares.gyp
new file mode 100644
index 00000000000..5a622dace76
--- /dev/null
+++ b/lang/nodejs4/patches/patch-deps_cares_cares.gyp
@@ -0,0 +1,16 @@
+$NetBSD: patch-deps_cares_cares.gyp,v 1.1 2015/11/09 20:21:51 fhajny Exp $
+
+Add support for NetBSD.
+--- deps/cares/cares.gyp.orig 2013-03-14 10:55:24.000000000 +0900
++++ deps/cares/cares.gyp 2013-03-14 10:55:47.000000000 +0900
+@@ -140,6 +140,10 @@
+ 'include_dirs': [ 'config/freebsd' ],
+ 'sources': [ 'config/freebsd/ares_config.h' ]
+ }],
++ [ 'OS=="netbsd"', {
++ 'include_dirs': [ 'config/netbsd' ],
++ 'sources': [ 'config/netbsd/ares_config.h' ]
++ }],
+ [ 'OS=="openbsd"', {
+ 'include_dirs': [ 'config/openbsd' ],
+ 'sources': [ 'config/openbsd/ares_config.h' ]