From owner-svn-ports-all@freebsd.org Thu May 17 16:25:10 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20005EB082E; Thu, 17 May 2018 16:25:10 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEA9E691A9; Thu, 17 May 2018 16:25:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9D3FC3D91; Thu, 17 May 2018 16:25:09 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w4HGP9Nf024918; Thu, 17 May 2018 16:25:09 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4HGP9tt024917; Thu, 17 May 2018 16:25:09 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201805171625.w4HGP9tt024917@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 17 May 2018 16:25:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470228 - head/www/npm/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/npm/files X-SVN-Commit-Revision: 470228 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2018 16:25:10 -0000 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 = {