public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/files/
Date: Fri,  6 May 2022 05:21:43 +0000 (UTC)	[thread overview]
Message-ID: <1651814386.553eb1d927158864d66881473770799759c6e6ea.juippis@gentoo> (raw)

commit:     553eb1d927158864d66881473770799759c6e6ea
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 05:19:46 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri May  6 05:19:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=553eb1d9

net-libs/nodejs: remove unneeded patch

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../files/nodejs-12.22.10-global-npm-config.patch    | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/net-libs/nodejs/files/nodejs-12.22.10-global-npm-config.patch b/net-libs/nodejs/files/nodejs-12.22.10-global-npm-config.patch
deleted file mode 100644
index 09d9dbe47be0..000000000000
--- a/net-libs/nodejs/files/nodejs-12.22.10-global-npm-config.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/deps/npm/lib/config/core.js b/deps/npm/lib/config/core.js
-index 36420b3450..0afb0b6792 100644
---- a/deps/npm/lib/config/core.js
-+++ b/deps/npm/lib/config/core.js
-@@ -151,11 +151,10 @@ function load_ (builtin, rc, cli, cb) {
-     // Eg, `npm config get globalconfig --prefix ~/local` should
-     // return `~/local/etc/npmrc`
-     // annoying humans and their expectations!
--    if (conf.get('prefix')) {
--      var etc = path.resolve(conf.get('prefix'), 'etc')
--      defaults.globalconfig = path.resolve(etc, 'npmrc')
--      defaults.globalignorefile = path.resolve(etc, 'npmignore')
--    }
-+    // gentoo deviates wrt global config; store in /etc/npm
-+    var globalconfig = path.resolve('/etc', 'npm')
-+    defaults.globalconfig = path.resolve(globalconfig, 'npmrc')
-+    defaults.globalignorefile = path.resolve(globalconfig, 'npmignore')
- 
-     conf.addFile(conf.get('globalconfig'), 'global')
- 


             reply	other threads:[~2022-05-06  5:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06  5:21 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-28  7:25 [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/files/ Joonas Niilola
2024-05-30 14:55 Arthur Zamarin
2024-04-18 19:32 Conrad Kostecki
2022-07-19 17:10 Conrad Kostecki
2022-07-18 21:41 Conrad Kostecki
2022-06-05 23:03 Conrad Kostecki
2022-05-30  3:58 Sam James
2022-05-13 20:04 Sam James
2021-05-16 18:17 Marek Szuba
2021-05-16 18:17 Marek Szuba
2020-02-23 19:54 Magnus Granberg
2018-12-13 12:44 Jeroen Roovers
2018-01-04 12:31 Jeroen Roovers
2017-11-21 12:01 Jeroen Roovers
2017-11-01 11:42 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651814386.553eb1d927158864d66881473770799759c6e6ea.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox