pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs Unbreak build on NetBSD by ensuring that u...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00cfa07d3437
branches:  trunk
changeset: 377873:00cfa07d3437
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Mar 23 21:07:53 2018 +0000

description:
Unbreak build on NetBSD by ensuring that uintptr_t is not a macro.

diffstat:

 lang/nodejs/distinfo                                        |   3 +-
 lang/nodejs/patches/patch-src_node__postmortem__metadata.cc |  15 +++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r fff9b4cc3e4a -r 00cfa07d3437 lang/nodejs/distinfo
--- a/lang/nodejs/distinfo      Fri Mar 23 17:55:38 2018 +0000
+++ b/lang/nodejs/distinfo      Fri Mar 23 21:07:53 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.116 2018/03/13 16:22:00 fhajny Exp $
+$NetBSD: distinfo,v 1.117 2018/03/23 21:07:53 joerg Exp $
 
 SHA1 (node-v9.8.0.tar.gz) = d9d30f6d255353f76ddc869e0d66c55a503afd2d
 RMD160 (node-v9.8.0.tar.gz) = 6ca4e9638643ca42c8877adb95d91760cd106994
@@ -22,6 +22,7 @@
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704
 SHA1 (patch-src_inspector__agent.cc) = f6d25964a6446a1cb3c7733b7668c87932efad98
+SHA1 (patch-src_node__postmortem__metadata.cc) = 9938482d724ad6636af5dc3fa719ec26ed8539ff
 SHA1 (patch-tools_gyp_pylib_gyp_common.py) = 585dd239415da146fa50ed86e42dd99080e86002
 SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = be3cc1aaa85c3d59b6f2758df813cb5ad8d8f74e
 SHA1 (patch-tools_gyp_pylib_gyp_xcode__emulation.py) = 15937c419f3226ab280c7bcd5d726773cb5add57
diff -r fff9b4cc3e4a -r 00cfa07d3437 lang/nodejs/patches/patch-src_node__postmortem__metadata.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs/patches/patch-src_node__postmortem__metadata.cc       Fri Mar 23 21:07:53 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_node__postmortem__metadata.cc,v 1.1 2018/03/23 21:07:53 joerg 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



Home | Main Index | Thread Index | Old Index