[BACK]Return to patch-deps_v8_src_compiler_types.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs14 / patches

File: [cvs.NetBSD.org] / pkgsrc / lang / nodejs14 / patches / Attic / patch-deps_v8_src_compiler_types.h (download)

Revision 1.1, Wed Mar 30 06:51:31 2022 UTC (2 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2

nodejs14: updated to 14.19.1 and moved to lang/nodejs14

Version 14.19.1 'Fermium' (LTS)

This is a security release.

Notable Changes

Update to OpenSSL 1.1.1n, which addresses the following vulnerability:

Infinite loop in BN_mod_sqrt() reachable when parsing certificates (High)(CVE-2022-0778) More details are available at https://www.openssl.org/news/secadv/20220315.txt

$NetBSD: patch-deps_v8_src_compiler_types.h,v 1.1 2022/03/30 06:51:31 adam Exp $

NetBSD 6 doesn't have nearbyint/nearbyintf.

--- deps/v8/src/compiler/types.h.orig	2019-11-19 08:29:07.000000000 +0000
+++ deps/v8/src/compiler/types.h
@@ -5,6 +5,14 @@
 #ifndef V8_COMPILER_TYPES_H_
 #define V8_COMPILER_TYPES_H_
 
+#ifdef __NetBSD__
+#include <sys/param.h>
+#if __NetBSD_Version__ - 0 < 699001700
+#define nearbyint rint
+#define nearbyintf rintf
+#endif
+#endif
+
 #include "src/base/compiler-specific.h"
 #include "src/common/globals.h"
 #include "src/compiler/heap-refs.h"