From ca95aac9724329367d8ba27d335a19e3fad2b6df Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 9 Sep 2024 02:17:20 +0800 Subject: www/node22: Update to 22.8.0 Changes: https://github.com/nodejs/node/releases https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V22.md --- www/node22/files/patch-src-compile_cache.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 www/node22/files/patch-src-compile_cache.cc (limited to 'www/node22/files/patch-src-compile_cache.cc') diff --git a/www/node22/files/patch-src-compile_cache.cc b/www/node22/files/patch-src-compile_cache.cc new file mode 100644 index 000000000000..007f84cdac69 --- /dev/null +++ b/www/node22/files/patch-src-compile_cache.cc @@ -0,0 +1,15 @@ +Obtained from: https://github.com/nodejs/node/pull/54528 + +--- src/compile_cache.cc.orig 2024-09-03 03:18:45 UTC ++++ src/compile_cache.cc +@@ -8,6 +8,10 @@ + #include "path.h" + #include "zlib.h" + ++#ifdef NODE_IMPLEMENTS_POSIX_CREDENTIALS ++#include // getuid ++#endif ++ + namespace node { + std::string Uint32ToHex(uint32_t crc) { + std::string str; -- cgit v1.2.3