pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/nodejs22
Module Name: pkgsrc
Committed By: adam
Date: Thu Oct 9 09:28:44 UTC 2025
Modified Files:
pkgsrc/lang/nodejs22: distinfo
Added Files:
pkgsrc/lang/nodejs22/patches: patch-configure
Log Message:
nodejs22: fix build with Python 3.14
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/nodejs22/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs22/patches/patch-configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/nodejs22/distinfo
diff -u pkgsrc/lang/nodejs22/distinfo:1.14 pkgsrc/lang/nodejs22/distinfo:1.15
--- pkgsrc/lang/nodejs22/distinfo:1.14 Mon Sep 29 18:25:00 2025
+++ pkgsrc/lang/nodejs22/distinfo Thu Oct 9 09:28:44 2025
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.14 2025/09/29 18:25:00 adam Exp $
+$NetBSD: distinfo,v 1.15 2025/10/09 09:28:44 adam Exp $
BLAKE2s (node-v22.20.0.tar.xz) = 1a6de06795a60e9fe0bc793754f34840845715ecea9d2fec7e44ffa2504e54f4
SHA512 (node-v22.20.0.tar.xz) = 2f5287dc81e480f9b97775818b9f9717ebfb6e2c9ea4217cde22f9ac3d02f3c09c5e35384ddf2a310e5ba17cbb47182464a9fa6ff5c43a0cfd5a8a5eefe2ac90
Size (node-v22.20.0.tar.xz) = 50110384 bytes
SHA1 (patch-common.gypi) = 41fc3ddf9e43c0b0a3d6ef845e7ee2847f4e12ce
+SHA1 (patch-configure) = a7325b6f208a23435105cbd89a5b024695572caf
SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
SHA1 (patch-deps_uv_common.gypi) = 29f0c382b68f77749a71ce39fa2ca37338ca18ec
SHA1 (patch-deps_uvwasi_include_wasi__serdes.h) = 32b85ef5824b96b35aba9280bbe7aa7899d9e5cf
Added files:
Index: pkgsrc/lang/nodejs22/patches/patch-configure
diff -u /dev/null pkgsrc/lang/nodejs22/patches/patch-configure:1.1
--- /dev/null Thu Oct 9 09:28:44 2025
+++ pkgsrc/lang/nodejs22/patches/patch-configure Thu Oct 9 09:28:44 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-configure,v 1.1 2025/10/09 09:28:44 adam Exp $
+
+Allow Python 3.14.
+
+--- configure.orig 2025-09-24 04:12:08.000000000 +0000
++++ configure
+@@ -4,6 +4,7 @@
+ # Note that the mix of single and double quotes is intentional,
+ # as is the fact that the ] goes on a new line.
+ _=[ 'exec' '/bin/sh' '-c' '''
++command -v python3.14 >/dev/null && exec python3.14 "$0" "$@"
+ command -v python3.13 >/dev/null && exec python3.13 "$0" "$@"
+ command -v python3.12 >/dev/null && exec python3.12 "$0" "$@"
+ command -v python3.11 >/dev/null && exec python3.11 "$0" "$@"
+@@ -23,7 +24,7 @@ except ImportError:
+ from distutils.spawn import find_executable as which
+
+ print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
+-acceptable_pythons = ((3, 13), (3, 12), (3, 11), (3, 10), (3, 9), (3, 8))
++acceptable_pythons = ((3, 14), (3, 13), (3, 12), (3, 11), (3, 10), (3, 9), (3, 8))
+ if sys.version_info[:2] in acceptable_pythons:
+ import configure
+ else:
Home |
Main Index |
Thread Index |
Old Index