diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-09 02:17:20 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-09-09 02:37:05 +0800 |
commit | ca95aac9724329367d8ba27d335a19e3fad2b6df (patch) | |
tree | 832b2add847e1469014385f2f4a32c6d37291b26 | |
parent | www/node20: Update to 20.17.0 (diff) |
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
-rw-r--r-- | www/node22/Makefile.version | 2 | ||||
-rw-r--r-- | www/node22/distinfo | 6 | ||||
-rw-r--r-- | www/node22/files/patch-src-compile_cache.cc | 15 |
3 files changed, 19 insertions, 4 deletions
diff --git a/www/node22/Makefile.version b/www/node22/Makefile.version index 75760aace2a7..4c5274f76463 100644 --- a/www/node22/Makefile.version +++ b/www/node22/Makefile.version @@ -1 +1 @@ -NODEJS_PORTVERSION= 22.6.0 +NODEJS_PORTVERSION= 22.8.0 diff --git a/www/node22/distinfo b/www/node22/distinfo index ef748a76f350..ecf37777e276 100644 --- a/www/node22/distinfo +++ b/www/node22/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1723201033 -SHA256 (node-v22.6.0.tar.xz) = 37259d618d5565ca55acc2585045c7e1c5b9965a3d4eb44c0a237fdae84b9d44 -SIZE (node-v22.6.0.tar.xz) = 46900628 +TIMESTAMP = 1725559603 +SHA256 (node-v22.8.0.tar.xz) = f130e82176d1ee0702d99afc1995d0061bf8ed357c38834a32a08c9ef74f1ac7 +SIZE (node-v22.8.0.tar.xz) = 46899840 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 <unistd.h> // getuid ++#endif ++ + namespace node { + std::string Uint32ToHex(uint32_t crc) { + std::string str; |