FreeBSD Bugzilla – Attachment 152940 Details for
Bug 197539
www/node: Error getaddrinfo EAI_BADFLAGS on 0.12.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
node.0.12.0_1.patch
node.0.12.0_1.patch (text/plain), 1.09 KB, created by
linpct
on 2015-02-13 16:22:34 UTC
(
hide
)
Description:
node.0.12.0_1.patch
Filename:
MIME Type:
Creator:
linpct
Created:
2015-02-13 16:22:34 UTC
Size:
1.09 KB
patch
obsolete
>diff -ruN node.orig/Makefile node/Makefile >--- node.orig/Makefile 2015-02-11 19:45:58.000000000 +0800 >+++ node/Makefile 2015-02-14 00:21:03.000000000 +0800 >@@ -3,6 +3,7 @@ > > PORTNAME= node > PORTVERSION= 0.12.0 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ > DISTNAME= ${PORTNAME}-v${PORTVERSION} >diff -ruN node.orig/files/patch-lib_dns.js node/files/patch-lib_dns.js >--- node.orig/files/patch-lib_dns.js 1970-01-01 08:00:00.000000000 +0800 >+++ node/files/patch-lib_dns.js 2015-02-13 23:48:04.000000000 +0800 >@@ -0,0 +1,14 @@ >+--- lib/dns.js.orig 2015-02-13 23:42:28.000000000 +0800 >++++ lib/dns.js 2015-02-13 23:46:39.000000000 +0800 >+@@ -125,6 +125,11 @@ >+ hints !== (exports.ADDRCONFIG | exports.V4MAPPED)) { >+ throw new TypeError('invalid argument: hints must use valid flags'); >+ } >++ // FIXME(indutny): V4MAPPED on FreeBSD results in EAI_BADFLAGS, because >++ // the libc does not support it >++ if (process.platform === 'freebsd' && family !== 6) { >++ hints &= ~exports.V4MAPPED; >++ } >+ } else { >+ family = options >>> 0; >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 197539
: 152940 |
152943