pkgsrc/lang/nodejs14/patches/patch-deps_uvwasi_include_wasi__serdes.h
adam ab1b312e43 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
2022-03-30 06:51:30 +00:00

21 lines
588 B
C

$NetBSD: patch-deps_uvwasi_include_wasi__serdes.h,v 1.1 2022/03/30 06:51:30 adam Exp $
NetBSD<9 used to have #define uint8_t etc. which caused issues with complicated
defines like this one.
--- deps/uvwasi/include/wasi_serdes.h.orig 2020-08-11 14:32:04.000000000 +0000
+++ deps/uvwasi/include/wasi_serdes.h
@@ -3,6 +3,13 @@
#include "wasi_types.h"
+#ifdef __NetBSD__
+#undef uint8_t
+#undef uint16_t
+#undef uint32_t
+#undef uint64_t
+#endif
+
/* Basic uint{8,16,32,64}_t read/write functions. */
#define BASIC_TYPE(name, type) \