[packages/nodejs] up to 24.22.0
atler
atler at pld-linux.org
Wed Oct 14 22:29:15 CEST 2026
commit 9c62005f3eb5efbcae14fc5d763785f8d659af20
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Oct 14 22:28:53 2026 +0200
up to 24.22.0
cflags.patch | 10 +++++++++-
nodejs.spec | 4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index c48dbd1..a537506 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -29,12 +29,12 @@ Name: nodejs
# Active start: 2025-10-28
# Maintenance start: October 2026
# Maintenance end: April 2028
-Version: 24.21.0
+Version: 24.22.0
Release: 1
License: BSD and MIT and Apache v2.0 and GPL v3
Group: Development/Languages
Source0: https://nodejs.org/download/release/latest-v24.x/node-v%{version}.tar.xz
-# Source0-md5: b90a0903e2c2bd47ba8c4d9beb6e4417
+# Source0-md5: 8e5e3a69baca36d7e1bdb3c9a6e3cd9a
# force node to use /usr/lib/node as the systemwide module directory
Patch0: %{name}-libpath.patch
# use /usr/lib64/node as an arch-specific module dir when appropriate
diff --git a/cflags.patch b/cflags.patch
index 8a97bb2..753d80e 100644
--- a/cflags.patch
+++ b/cflags.patch
@@ -9,7 +9,7 @@
'conditions': [
['enable_lto=="true"', {
'cflags': ['<(lto)'],
-@@ -506,56 +506,6 @@
+@@ -506,64 +506,6 @@
'cflags': [ '-I/usr/local/include' ],
'ldflags': [ '-Wl,-z,wxneeded' ],
}],
@@ -36,6 +36,10 @@
- 'cflags': [ '-m64', '-march=z196' ],
- 'ldflags': [ '-m64', '-march=z196' ],
- }],
+- [ 'host_arch=="riscv64" and OS=="linux"', {
+- 'cflags': [ '-march=rv64gc' ],
+- 'ldflags': [ '-march=rv64gc' ],
+- }],
- ],
- }],
- ['_toolset=="target"', {
@@ -61,6 +65,10 @@
- 'cflags': [ '-m64', '-march=z196' ],
- 'ldflags': [ '-m64', '-march=z196' ],
- }],
+- [ 'target_arch=="riscv64" and OS=="linux"', {
+- 'cflags': [ '-march=rv64gc' ],
+- 'ldflags': [ '-march=rv64gc' ],
+- }],
- ],
- }],
],
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/9c62005f3eb5efbcae14fc5d763785f8d659af20
More information about the pld-cvs-commit
mailing list