pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/nodejs



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Oct 11 05:48:38 UTC 2026

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-configure

Log Message:
lang/nodejs: Fix build with lang/python315


To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.6 pkgsrc/lang/nodejs/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/nodejs/distinfo
diff -u pkgsrc/lang/nodejs/distinfo:1.333 pkgsrc/lang/nodejs/distinfo:1.334
--- pkgsrc/lang/nodejs/distinfo:1.333   Thu Oct  8 05:49:04 2026
+++ pkgsrc/lang/nodejs/distinfo Sun Oct 11 05:48:37 2026
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.333 2026/10/08 05:49:04 adam Exp $
+$NetBSD: distinfo,v 1.334 2026/10/11 05:48:37 ryoon Exp $
 
 BLAKE2s (node-v26.11.1.tar.xz) = cff8692901ccc91338d1ebc5d70b7ad6e8c87e0884b424a3ca72e753753ec1d6
 SHA512 (node-v26.11.1.tar.xz) = a98c245732fef21dc6c0bafaa032ab1331a5efaed8d7758310dd65bf9d2bd16d5305ab06e1149b7fffe0ad0f0d945b874e30e1b9a72069a0ab064f357a225294
 Size (node-v26.11.1.tar.xz) = 63107044 bytes
 SHA1 (patch-common.gypi) = 901ec961585bd0726e9f1ea1ee2dbc0c791bb6c7
+SHA1 (patch-configure) = dd7a99ed79ad4d4bf23a6ed6bf8e741aa6832ba6
 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/nodejs/patches/patch-configure
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-configure:1.6
--- /dev/null   Sun Oct 11 05:48:38 2026
+++ pkgsrc/lang/nodejs/patches/patch-configure  Sun Oct 11 05:48:37 2026
@@ -0,0 +1,23 @@
+$NetBSD: patch-configure,v 1.6 2026/10/11 05:48:37 ryoon Exp $
+
+* Support Python 3.15.
+
+--- configure.orig     2026-10-11 13:30:41.900768556 +0000
++++ configure
+@@ -4,6 +4,7 @@ _=[ 'exec' '/bin/sh' '-c' '''
+ # 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.15 >/dev/null && exec python3.15 "$0" "$@"
+ 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" "$@"
+@@ -22,7 +23,7 @@ print('Node.js configure: Found Python {}.{}.{}...'.fo
+   from distutils.spawn import find_executable as which
+ 
+ print('Node.js configure: Found Python {}.{}.{}...'.format(*sys.version_info))
+-acceptable_pythons = ((3, 14), (3, 13), (3, 12), (3, 11), (3, 10))
++acceptable_pythons = ((3, 15), (3, 14), (3, 13), (3, 12), (3, 11), (3, 10))
+ if sys.version_info[:2] in acceptable_pythons:
+   import configure
+ else:



Home | Main Index | Thread Index | Old Index