pkgsrc/lang/nodejs12/patches/patch-src_node__postmortem__metadata.cc
adam 48c0cb6a3b nodejs: added version 12.13.1, removed version 6.14.3
Moved nodejs to nodejs10 - version 10.17.0

Version 12.13.1 'Erbium' (LTS):

Notable changes
Experimental support for building Node.js with Python 3 is improved.
ICU time zone data is updated to version 2019c. This fixes the date offset in Brazil.
2019-12-09 20:05:40 +00:00

15 lines
699 B
C++

$NetBSD: patch-src_node__postmortem__metadata.cc,v 1.1 2019/12/09 20:05:40 adam Exp $
--- src/node_postmortem_metadata.cc.orig 2018-03-23 20:05:49.909811719 +0000
+++ src/node_postmortem_metadata.cc
@@ -11,6 +11,10 @@
#define NODEDBG_OFFSET(Class, Member, Type) \
NODEDBG_SYMBOL(offset_ ## Class ## __ ## Member ## __ ## Type)
+// Some systems provide macros for the types as well, which get expanded
+// by the nested macros here.
+#undef uintptr_t
+
// These are the constants describing Node internal structures. Every constant
// should use the format described above. These constants are declared as
// global integers so that they'll be present in the generated node binary. They