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:   riastradh
Date:           Wed Nov 27 17:07:15 UTC 2024

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

Log Message:
lang/nodejs: Provide missing DT_GNU_HASH definition in netbsd<10.

No revbump because this only affects netbsd<10, and only transitions
from build failure to possible build success.


To generate a diff of this commit:
cvs rdiff -u -r1.275 -r1.276 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/nodejs/patches/patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.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.275 pkgsrc/lang/nodejs/distinfo:1.276
--- pkgsrc/lang/nodejs/distinfo:1.275   Thu Nov 21 14:40:26 2024
+++ pkgsrc/lang/nodejs/distinfo Wed Nov 27 17:07:15 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.275 2024/11/21 14:40:26 adam Exp $
+$NetBSD: distinfo,v 1.276 2024/11/27 17:07:15 riastradh Exp $
 
 BLAKE2s (node-v23.3.0.tar.xz) = 972a376f3dce93b0706ad438e45dce1add8373874579412eaa003af5e6c76a22
 SHA512 (node-v23.3.0.tar.xz) = 2305d4b5652b0cc339becb62213e9dcfb113df8960b2485efe6be488217498d82c49749fc3206354345a416010222a545b449fb1dbe0bcf0ccfbed2d8e190455
@@ -17,6 +17,7 @@ SHA1 (patch-deps_v8_src_codegen_arm_cpu-
 SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
 SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5
 SHA1 (patch-deps_v8_src_heap_code-range.cc) = b281f76f4e3d8e562f596235049a6be7c5ff4de2
+SHA1 (patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h) = d74a2354d9c0fe9a6cce43cffa3d3a5a37c84e03
 SHA1 (patch-deps_v8_tools_profiling_run-llprof.sh) = b19994d3195cc97424a3cc2ffd3ae02eacc6ffa8
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
 SHA1 (patch-src_compile__cache.cc) = 39a85bcb1ebe7c9bf7c431d6dc60dca5b9d63aaf

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h:1.1
--- /dev/null   Wed Nov 27 17:07:15 2024
+++ pkgsrc/lang/nodejs/patches/patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h  Wed Nov 27 17:07:15 2024
@@ -0,0 +1,23 @@
+$NetBSD: patch-deps_v8_third__party_abseil-cpp_absl_debugging_internal_elf__mem__image.h,v 1.1 2024/11/27 17:07:15 riastradh Exp $
+
+Work around missing DT_GNU_HASH definition in NetBSD 9:
+
+../deps/v8/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc: In member function 'void absl::debugging_internal::ElfMemImage::Init(const void*)':
+../deps/v8/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.cc:228:12: error: 'DT_GNU_HASH' was not declared in this scope; did you mean 'SHT_GNU_HASH'?
+  228 |       case DT_GNU_HASH:
+      |            ^~~~~~~~~~~
+      |            SHT_GNU_HASH
+
+--- deps/v8/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h.orig        2024-11-20 14:52:46.000000000 +0000
++++ deps/v8/third_party/abseil-cpp/absl/debugging/internal/elf_mem_image.h
+@@ -47,6 +47,10 @@
+ #define ElfW(x) __ElfN(x)
+ #endif
+ 
++#if defined(__NetBSD__) && !defined(DT_GNU_HASH)
++#define DT_GNU_HASH 0x6ffffef5
++#endif
++
+ namespace absl {
+ ABSL_NAMESPACE_BEGIN
+ namespace debugging_internal {



Home | Main Index | Thread Index | Old Index