pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/nodejs8 lang/nodejs8: Fix build with GCC>=5. Patc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/37d4df4624a2
branches: trunk
changeset: 380146:37d4df4624a2
user: fhajny <fhajny%pkgsrc.org@localhost>
date: Sat May 12 09:04:23 2018 +0000
description:
lang/nodejs8: Fix build with GCC>=5. Patch by leot@.
diffstat:
lang/nodejs8/distinfo | 3 ++-
lang/nodejs8/patches/patch-src_node__crypto.cc | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r a345f6aadbc7 -r 37d4df4624a2 lang/nodejs8/distinfo
--- a/lang/nodejs8/distinfo Sat May 12 09:01:08 2018 +0000
+++ b/lang/nodejs8/distinfo Sat May 12 09:04:23 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2018/05/09 12:18:03 adam Exp $
+$NetBSD: distinfo,v 1.10 2018/05/12 09:04:23 fhajny Exp $
SHA1 (node-v8.11.1.tar.gz) = 9144b4545885af5c806f7f68d814ffa6a8ed97bd
RMD160 (node-v8.11.1.tar.gz) = bbed69463aa4fb4bf8bf5d37d6878fdb23eff450
@@ -21,6 +21,7 @@
SHA1 (patch-src_cares__wrap.cc) = a26a162f130468cbc0650a33b27b71377d273704
SHA1 (patch-src_inspector__agent.cc) = f6d25964a6446a1cb3c7733b7668c87932efad98
SHA1 (patch-src_inspector__io.cc) = 1824738bc4b34c93571367189adcfdc9ee84ccf0
+SHA1 (patch-src_node__crypto.cc) = 439f47dcc4242bd65bb9c05a6bf9a5baa53ec907
SHA1 (patch-src_node__i18n.cc) = 9fde68e1bd55e0026310ba7a51e2091d587c1277
SHA1 (patch-tools_gyp_pylib_gyp_common.py) = 585dd239415da146fa50ed86e42dd99080e86002
SHA1 (patch-tools_gyp_pylib_gyp_generator_make.py) = be3cc1aaa85c3d59b6f2758df813cb5ad8d8f74e
diff -r a345f6aadbc7 -r 37d4df4624a2 lang/nodejs8/patches/patch-src_node__crypto.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs8/patches/patch-src_node__crypto.cc Sat May 12 09:04:23 2018 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_node__crypto.cc,v 1.1 2018/05/12 09:04:24 fhajny Exp $
+
+<cmath> is needed for std::isnan() and std:isinf().
+
+Based on nodejs/node pull request #19196:
+
+ <https://github.com/nodejs/node/pull/19196>
+
+--- src/node_crypto.cc.orig 2018-03-29 23:17:17.000000000 +0000
++++ src/node_crypto.cc
+@@ -36,9 +36,9 @@
+ #include "v8.h"
+
+ #include <algorithm>
++#include <cmath>
+ #include <errno.h>
+ #include <limits.h> // INT_MAX
+-#include <math.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <vector>
Home |
Main Index |
Thread Index |
Old Index