[packages/nodejs] - update
arekm
arekm at pld-linux.org
Sat Jan 25 23:09:44 CET 2020
commit a7a47017291cf23cfcb3f1f4110ef84f05682e87
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Jan 25 23:09:34 2020 +0100
- update
nodejs-libpath.patch | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/nodejs-libpath.patch b/nodejs-libpath.patch
index 65258b5..614a9e5 100644
--- a/nodejs-libpath.patch
+++ b/nodejs-libpath.patch
@@ -1,11 +1,11 @@
---- node-v10.16.0/lib/internal/modules/cjs/loader.js~ 2019-05-28 23:32:23.000000000 +0200
-+++ node-v10.16.0/lib/internal/modules/cjs/loader.js 2019-06-03 09:11:35.662170541 +0200
-@@ -861,7 +861,7 @@ Module._initPaths = function() {
- } else {
- prefixDir = path.resolve(process.execPath, '..', '..');
- }
-- var paths = [path.resolve(prefixDir, 'lib', 'node')];
-+ var paths = ["/usr/lib/node", "/usr/lib/node_modules", path.resolve(prefixDir, 'lib', 'node')];
+--- node-v12.14.1/lib/internal/modules/cjs/loader.js~ 2020-01-07 13:16:01.000000000 +0100
++++ node-v12.14.1/lib/internal/modules/cjs/loader.js 2020-01-25 23:09:02.305347922 +0100
+@@ -1095,7 +1095,7 @@ Module._initPaths = function() {
+ path.resolve(process.execPath, '..') :
+ path.resolve(process.execPath, '..', '..');
+
+- let paths = [path.resolve(prefixDir, 'lib', 'node')];
++ let paths = ["/usr/lib/node", "/usr/lib/node_modules", path.resolve(prefixDir, 'lib', 'node')];
if (homeDir) {
paths.unshift(path.resolve(homeDir, '.node_libraries'));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/a7a47017291cf23cfcb3f1f4110ef84f05682e87
More information about the pld-cvs-commit
mailing list