pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/nodejs8
Module Name: pkgsrc
Committed By: fhajny
Date: Sat May 12 09:04:24 UTC 2018
Modified Files:
pkgsrc/lang/nodejs8: distinfo
Added Files:
pkgsrc/lang/nodejs8/patches: patch-src_node__crypto.cc
Log Message:
lang/nodejs8: Fix build with GCC>=5. Patch by leot@.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/nodejs8/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs8/patches/patch-src_node__crypto.cc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/nodejs8/distinfo
diff -u pkgsrc/lang/nodejs8/distinfo:1.9 pkgsrc/lang/nodejs8/distinfo:1.10
--- pkgsrc/lang/nodejs8/distinfo:1.9 Wed May 9 12:18:03 2018
+++ pkgsrc/lang/nodejs8/distinfo Sat May 12 09:04:23 2018
@@ -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-deps_v8_tools_run-llprof.sh)
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
Added files:
Index: pkgsrc/lang/nodejs8/patches/patch-src_node__crypto.cc
diff -u /dev/null pkgsrc/lang/nodejs8/patches/patch-src_node__crypto.cc:1.1
--- /dev/null Sat May 12 09:04:24 2018
+++ pkgsrc/lang/nodejs8/patches/patch-src_node__crypto.cc Sat May 12 09:04:24 2018
@@ -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