From e387d56b0565916e23bb60375286d5894708dc32 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 31 Jul 2021 00:31:21 +0200 Subject: [PATCH] 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-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')); 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 -- 2.43.0