forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modify patch. nodejs/node#19196 made not to use libressl headers fix to include path not to use "host/include" Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
- Loading branch information
Showing
3 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 34825d50db18631a92902af3f51ddd27aa074c90 Mon Sep 17 00:00:00 2001 | ||
From: Jeroen Roovers <jer-gentoo@users.noreply.github.com> | ||
Date: Fri, 13 Apr 2018 05:54:42 +0200 | ||
Subject: [PATCH 2/2] Include cmath ... | ||
|
||
... instead of using the C implementations of isnan and isinf | ||
--- | ||
src/node_crypto.cc | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/src/node_crypto.cc b/src/node_crypto.cc | ||
index 7c0f65a5735..0aa4adbd467 100644 | ||
--- a/src/node_crypto.cc | ||
+++ b/src/node_crypto.cc | ||
@@ -44,9 +44,9 @@ | ||
#include "StartComAndWoSignData.inc" | ||
|
||
#include <algorithm> | ||
+#include <cmath> | ||
#include <errno.h> | ||
#include <limits.h> // INT_MAX | ||
-#include <math.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
#include <vector> |