Initial push
[termux-packages] / packages / nodejs / lib-net.js.patch
1 See https://github.com/joyent/node/issues/8540
2
3 diff -u -r ../node-v0.12.3/lib/net.js ./lib/net.js
4 --- ../node-v0.12.3/lib/net.js 2015-05-13 20:30:45.000000000 -0400
5 +++ ./lib/net.js 2015-05-22 13:09:34.630948530 -0400
6 @@ -926,7 +926,7 @@
7 // and
8 // https://svnweb.freebsd.org/base/head/lib/libc/net/getaddrinfo.c?r1=172052&r2=175955
9 // for more information on the lack of support for FreeBSD.
10 - if (process.platform !== 'freebsd')
11 + if (process.platform !== 'freebsd' && process.platform !== 'android')
12 dnsopts.hints |= dns.V4MAPPED;
13 }
14