mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 15:08:40 +01:00
node: bump to 8.10.0
Changes:
Version bump to 8.10.0
Refreshed patches
Added npx install
Added 004-node_crypto-remove-std.patch
Additional patch fixes node_cypto compile failure:
./src/node_crypto.cc:5626:32: error: expected unqualified-id before '('
Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com>
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
committed by
Yousong Zhou
parent
4f341306d3
commit
cff6ebb809
@@ -1,8 +1,6 @@
|
||||
diff --git a/deps/v8/src/base/cpu.cc b/deps/v8/src/base/cpu.cc
|
||||
index 4f58720..1f3071e 100644
|
||||
--- a/deps/v8/src/base/cpu.cc
|
||||
+++ b/deps/v8/src/base/cpu.cc
|
||||
@@ -143,6 +143,7 @@ int __detect_fp64_mode(void) {
|
||||
@@ -144,6 +144,7 @@
|
||||
".set push\n\t"
|
||||
".set noreorder\n\t"
|
||||
".set oddspreg\n\t"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/deps/uv/src/unix/getaddrinfo.c
|
||||
+++ b/deps/uv/src/unix/getaddrinfo.c
|
||||
@@ -99,6 +99,7 @@ static void uv__getaddrinfo_work(struct
|
||||
@@ -100,6 +100,7 @@
|
||||
int err;
|
||||
|
||||
req = container_of(w, uv_getaddrinfo_t, work_req);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- a/lib/module.js
|
||||
+++ b/lib/module.js
|
||||
@@ -625,7 +625,8 @@
|
||||
@@ -714,7 +714,8 @@
|
||||
} else {
|
||||
prefixDir = path.resolve(process.execPath, '..', '..');
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/node_crypto.cc b/src/node_crypto.cc
|
||||
index 972b1e4..7c0f65a 100644
|
||||
--- a/src/node_crypto.cc
|
||||
+++ b/src/node_crypto.cc
|
||||
@@ -5623,7 +5623,7 @@ void PBKDF2(const FunctionCallbackInfo<Value>& args) {
|
||||
}
|
||||
|
||||
raw_keylen = args[3]->NumberValue();
|
||||
- if (raw_keylen < 0.0 || std::isnan(raw_keylen) || std::isinf(raw_keylen) ||
|
||||
+ if (raw_keylen < 0.0 || isnan(raw_keylen) || isinf(raw_keylen) ||
|
||||
raw_keylen > INT_MAX) {
|
||||
type_error = "Bad key length";
|
||||
goto err;
|
||||
Reference in New Issue
Block a user