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:   tnn
Date:           Mon Jan  6 23:06:44 UTC 2020

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

Log Message:
nodejs: work around type issue in NetBSD's copy of libc++ headers


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 pkgsrc/lang/nodejs/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/nodejs/patches/patch-deps_v8_src_zone_zone.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.157 pkgsrc/lang/nodejs/distinfo:1.158
--- pkgsrc/lang/nodejs/distinfo:1.157   Sun Dec 29 15:38:04 2019
+++ pkgsrc/lang/nodejs/distinfo Mon Jan  6 23:06:44 2020
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.157 2019/12/29 15:38:04 adam Exp $
+$NetBSD: distinfo,v 1.158 2020/01/06 23:06:44 tnn Exp $
 
 SHA1 (node-v13.5.0.tar.gz) = 85d2c121afe7a4377bceff78e82c08581b90cbde
 RMD160 (node-v13.5.0.tar.gz) = 81f2a5dc215db3bf117e2dc8d5a7c41bb447c0b2
@@ -27,6 +27,7 @@ SHA1 (patch-deps_v8_src_base_platform_pl
 SHA1 (patch-deps_v8_src_base_platform_semaphore.cc) = 802a95f1b1d131e0d85c1f99c659cc68b31ba2f6
 SHA1 (patch-deps_v8_src_common_globals.h) = 86637724864389f2b24251904de41669a2f00fbc
 SHA1 (patch-deps_v8_src_compiler_types.h) = 2a212282ab9d71e98ae56827fdb1d9778a6047a5
+SHA1 (patch-deps_v8_src_zone_zone.h) = 651b49d242dac8f713cccc101147ccf61f828ecb
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
 SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704

Added files:

Index: pkgsrc/lang/nodejs/patches/patch-deps_v8_src_zone_zone.h
diff -u /dev/null pkgsrc/lang/nodejs/patches/patch-deps_v8_src_zone_zone.h:1.1
--- /dev/null   Mon Jan  6 23:06:44 2020
+++ pkgsrc/lang/nodejs/patches/patch-deps_v8_src_zone_zone.h    Mon Jan  6 23:06:44 2020
@@ -0,0 +1,18 @@
+$NetBSD: patch-deps_v8_src_zone_zone.h,v 1.1 2020/01/06 23:06:44 tnn Exp $
+
+Work around type issue in NetBSD's copy of libc++ headers.
+Believed to be fixed in upstream libc++ already.
+https://github.com/nodejs/node/issues/30638
+
+--- deps/v8/src/zone/zone.h.orig       2019-12-18 17:26:45.000000000 +0000
++++ deps/v8/src/zone/zone.h
+@@ -141,6 +141,9 @@ class ZoneObject {
+  public:
+   // Allocate a new ZoneObject of 'size' bytes in the Zone.
+   void* operator new(size_t size, Zone* zone) { return zone->New(size); }
++#if defined(__NetBSD__) && defined(__clang__)
++  void* operator new(size_t size, void* zone) { return ((Zone*)zone)->New(size); }
++#endif
+ 
+   // Ideally, the delete operator should be private instead of
+   // public, but unfortunately the compiler sometimes synthesizes



Home | Main Index | Thread Index | Old Index