svn commit: r470228 - head/www/npm/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu May 17 16:25:10 UTC 2018
Author: sunpoet
Date: Thu May 17 16:25:09 2018
New Revision: 470228
URL: https://svnweb.freebsd.org/changeset/ports/470228
Log:
Update patch to fix build on i386
Modified:
head/www/npm/files/extra-patch-bug-178881
Modified: head/www/npm/files/extra-patch-bug-178881
==============================================================================
--- head/www/npm/files/extra-patch-bug-178881 Thu May 17 16:21:34 2018 (r470227)
+++ head/www/npm/files/extra-patch-bug-178881 Thu May 17 16:25:09 2018 (r470228)
@@ -1,7 +1,7 @@
---- lib/node_modules/npm/lib/config/defaults.js.orig 2015-05-01 04:03:19 UTC
+--- lib/node_modules/npm/lib/config/defaults.js.orig 1985-10-26 08:15:00 UTC
+++ lib/node_modules/npm/lib/config/defaults.js
-@@ -316,26 +316,7 @@ exports.types =
- }
+@@ -372,26 +372,7 @@ exports.types = {
+ }
function getLocalAddresses () {
- var interfaces
@@ -18,13 +18,13 @@
- return interfaces[nic].filter(function (addr) {
- return addr.family === 'IPv4'
- })
-- .map(function (addr) {
-- return addr.address
-- })
+- .map(function (addr) {
+- return addr.address
+- })
- }).reduce(function (curr, next) {
- return curr.concat(next)
- }, []).concat(undefined)
+ return [ '127.0.0.1', undefined ]
}
- exports.shorthands =
+ exports.shorthands = {
More information about the svn-ports-all
mailing list