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:   khorben
Date:           Fri Aug 21 09:37:13 UTC 2026

Modified Files:
        pkgsrc/lang/nodejs: distinfo
Added Files:
        pkgsrc/lang/nodejs/patches: patch-src_cares__wrap.h

Log Message:
lang/nodejs: import a partial fix for the build

Tested on NetBSD/amd64 (11.0_RC6), macOS/amd64 (26.5.2).


To generate a diff of this commit:
cvs rdiff -u -r1.327 -r1.328 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/lang/nodejs/patches/patch-src_cares__wrap.h

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.327 pkgsrc/lang/nodejs/distinfo:1.328
--- pkgsrc/lang/nodejs/distinfo:1.327   Sun Aug 16 11:56:45 2026
+++ pkgsrc/lang/nodejs/distinfo Fri Aug 21 09:37:13 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.327 2026/08/16 11:56:45 ryoon Exp $
+$NetBSD: distinfo,v 1.328 2026/08/21 09:37:13 khorben Exp $
 
 BLAKE2s (node-v26.7.0.tar.xz) = f3bf0a633cfc2ca3481717a2a25a066f8a8f02269d53c5296a9d0c3e243392ab
 SHA512 (node-v26.7.0.tar.xz) = d7dd7bf0485369c29ad90740c404b647696efd79c6a59f6a3da0b72cdb2740a5855fd62a55985516b8649d9c3359ce4141840f6e6a93427eaa5c87a3cd93e9c9
@@ -21,6 +21,7 @@ SHA1 (patch-deps_v8_src_strings_string-h
 SHA1 (patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.cc) = ccca21704265f98801bb97968b51c1432136b556
 SHA1 (patch-deps_v8_tools_profiling_run-llprof.sh) = b19994d3195cc97424a3cc2ffd3ae02eacc6ffa8
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
+SHA1 (patch-src_cares__wrap.h) = 9bbc9dc07e417413fbe3a77f4e840a0dd5f0f081
 SHA1 (patch-src_compile__cache.cc) = 39a85bcb1ebe7c9bf7c431d6dc60dca5b9d63aaf
 SHA1 (patch-src_crypto_crypto__rsa.cc) = 299fc4326411d62d580dd3395b5d7f94c70164cb
 SHA1 (patch-src_inspector__agent.cc) = 3fd3d71f9d6013a6eb2a79e0442b31d2e2408a2f

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-src_cares__wrap.h
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-src_cares__wrap.h:1.3
--- /dev/null   Fri Aug 21 09:37:13 2026
+++ pkgsrc/lang/nodejs/patches/patch-src_cares__wrap.h  Fri Aug 21 09:37:13 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_cares__wrap.h,v 1.3 2026/08/21 09:37:13 khorben Exp $
+
+Fix this error during the build:
+
+../src/cares_wrap.cc:1740:3: error: no matching function for call to 'ares_gethostbyaddr'
+
+--- src/cares_wrap.h.orig      2026-08-21 09:32:41.423565063 +0000
++++ src/cares_wrap.h
+@@ -352,7 +352,7 @@ class QueryWrap final : public AsyncWrap
+       void* arg,
+       int status,
+       int timeouts,
+-      struct hostent* host) {
++      const struct hostent* host) {
+     QueryWrap<Traits>* wrap = FromCallbackPointer(arg);
+     if (wrap == nullptr) return;
+ 



Home | Main Index | Thread Index | Old Index