[packages/nodejs] updated libpath patch for 32bit platforms; rel 2
atler
atler at pld-linux.org
Sat Jul 31 00:31:52 CEST 2021
commit e387d56b0565916e23bb60375286d5894708dc32
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jul 31 00:31:21 2021 +0200
updated libpath patch for 32bit platforms; rel 2
nodejs-libpath.patch | 2 +-
nodejs.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 5145ba7..a58c03b 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -26,7 +26,7 @@ Name: nodejs
# Maintenance start: October 2020
# Maintenance end: April 2023
Version: 14.17.4
-Release: 1
+Release: 2
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/dist/v%{version}/node-v%{version}.tar.gz
diff --git a/nodejs-libpath.patch b/nodejs-libpath.patch
index 614a9e5..272c6e3 100644
--- a/nodejs-libpath.patch
+++ b/nodejs-libpath.patch
@@ -8,4 +8,4 @@
+ let paths = ["/usr/lib/node", "/usr/lib/node_modules", path.resolve(prefixDir, 'lib', 'node')];
if (homeDir) {
- paths.unshift(path.resolve(homeDir, '.node_libraries'));
+ ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries'));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/e387d56b0565916e23bb60375286d5894708dc32
More information about the pld-cvs-commit
mailing list