Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2018 16:25:09 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470228 - head/www/npm/files
Message-ID:  <201805171625.w4HGP9tt024917@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 = {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805171625.w4HGP9tt024917>