[packages/nodejs] up to 22.20.0

atler atler at pld-linux.org
Fri Sep 26 17:55:13 CEST 2025


commit 9cc0ed2ebd3cc35f27392ac196dc6a5260fbd015
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Sep 26 17:53:33 2025 +0200

    up to 22.20.0

 cflags.patch | 16 +++++++++++++---
 nodejs.spec  |  4 ++--
 2 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index 57fd745..d84b93a 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -29,12 +29,12 @@ Name:		nodejs
 # Active start: 2024-10-29
 # Maintenance start: October 2025
 # Maintenance end: April 2027
-Version:	22.19.0
+Version:	22.20.0
 Release:	1
 License:	BSD and MIT and Apache v2.0 and GPL v3
 Group:		Development/Languages
 Source0:	https://nodejs.org/download/release/latest-v22.x/node-v%{version}.tar.xz
-# Source0-md5:	b3123ecaaac5eb0b4002149a443c3bbb
+# Source0-md5:	749c5219b26f9961ddf62e0f02e222a1
 # 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 4ce32ff..0a9dfe7 100644
--- a/cflags.patch
+++ b/cflags.patch
@@ -9,7 +9,7 @@
          'conditions': [
            ['enable_lto=="true"', {
              'cflags': ['<(lto)'],
-@@ -506,54 +506,6 @@
+@@ -506,64 +506,6 @@
              'cflags': [ '-I/usr/local/include' ],
              'ldflags': [ '-Wl,-z,wxneeded' ],
            }],
@@ -28,7 +28,12 @@
 -                'ldflags': [ '-m32' ],
 -              }],
 -              [ 'host_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
+-                'conditions': [
+-                  [ 'clang==0', {
+-                    'cflags': [ '-mminimal-toc' ],
+-                  }],
+-                ],
+-                'cflags': [ '-m64' ],
 -                'ldflags': [ '-m64' ],
 -              }],
 -              [ 'host_arch=="s390x" and OS=="linux"', {
@@ -52,7 +57,12 @@
 -                'ldflags': [ '-m32' ],
 -              }],
 -              [ 'target_arch=="ppc64" and OS not in "aix os400"', {
--                'cflags': [ '-m64', '-mminimal-toc' ],
+-                'conditions': [
+-                  [ 'clang==0', {
+-                    'cflags': [ '-mminimal-toc' ],
+-                  }],
+-                ],
+-                'cflags': [ '-m64' ],
 -                'ldflags': [ '-m64' ],
 -              }],
 -              [ 'target_arch=="s390x" and OS=="linux"', {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/9cc0ed2ebd3cc35f27392ac196dc6a5260fbd015



More information about the pld-cvs-commit mailing list