Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/nodejs10 Don't implicitly convert pointers to bool.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/070b4f78de98
branches:  trunk
changeset: 433093:070b4f78de98
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat May 30 20:44:39 2020 +0000

description:
Don't implicitly convert pointers to bool.

diffstat:

 lang/nodejs10/distinfo                                          |   3 +-
 lang/nodejs10/patches/patch-deps_v8_src_torque_ast-generator.cc |  22 ++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r c971fa684013 -r 070b4f78de98 lang/nodejs10/distinfo
--- a/lang/nodejs10/distinfo    Sat May 30 20:43:40 2020 +0000
+++ b/lang/nodejs10/distinfo    Sat May 30 20:44:39 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2020/04/17 07:58:54 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/05/30 20:44:39 joerg Exp $
 
 SHA1 (node-v10.20.1.tar.gz) = e1c366db82e4ee43b58de8a646a502988f47ad49
 RMD160 (node-v10.20.1.tar.gz) = ae5cabf5f953f74976daa17cf9015b780bf022cf
@@ -19,6 +19,7 @@
 SHA1 (patch-deps_v8_src_compiler_types.h) = 711cc94535200374104c3cd1f0fbbd00994701a6
 SHA1 (patch-deps_v8_src_globals.h) = 6695a381000844ad9837bdbc3edbe9040ec4d5ff
 SHA1 (patch-deps_v8_src_log-utils.h) = 765e4e4af2cb11e38c033174ac92fbb6ee1fd480
+SHA1 (patch-deps_v8_src_torque_ast-generator.cc) = 34b6c9b0036e91d22b2625e85d052bba6e3531a5
 SHA1 (patch-deps_v8_tools_run-llprof.sh) = 39aa3faf77492ef8dd35b411b7b0e4605b469af3
 SHA1 (patch-node.gypi) = 4a104dba6c22702211009bc60a6be6f87554e2fa
 SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704
diff -r c971fa684013 -r 070b4f78de98 lang/nodejs10/patches/patch-deps_v8_src_torque_ast-generator.cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs10/patches/patch-deps_v8_src_torque_ast-generator.cc   Sat May 30 20:44:39 2020 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-deps_v8_src_torque_ast-generator.cc,v 1.1 2020/05/30 20:44:39 joerg Exp $
+
+--- deps/v8/src/torque/ast-generator.cc.orig   2020-05-28 00:01:38.832602482 +0000
++++ deps/v8/src/torque/ast-generator.cc
+@@ -120,7 +120,7 @@ Statement* AstGenerator::GetOptionalHelp
+ 
+ antlrcpp::Any AstGenerator::visitParameterList(
+     TorqueParser::ParameterListContext* context) {
+-  ParameterList result{{}, {}, context->VARARGS(), {}};
++  ParameterList result{{}, {}, context->VARARGS() != nullptr, {}};
+   if (context->VARARGS()) {
+     result.arguments_variable = context->IDENTIFIER()->getSymbol()->getText();
+   }
+@@ -141,7 +141,7 @@ antlrcpp::Any AstGenerator::visitTypeLis
+ 
+ antlrcpp::Any AstGenerator::visitTypeListMaybeVarArgs(
+     TorqueParser::TypeListMaybeVarArgsContext* context) {
+-  ParameterList result{{}, {}, context->VARARGS(), {}};
++  ParameterList result{{}, {}, context->VARARGS() != nullptr, {}};
+   result.types.reserve(context->type().size());
+   for (auto* type : context->type()) {
+     result.types.push_back(GetType(type));



Home | Main Index | Thread Index | Old Index