nodejs: backport a patch to prevent brotli crashing nodejs

Brotli can crash nodejs (on ARM), because the memory allocated for
brotli wasn't properly aligned.

https://github.com/google/brotli/issues/1159
https://github.com/nodejs/node/commit/dc035bbc9b310ff8067bc0dad22230978489c061

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Jeroen Hofstee authored and Armin Kuster committed 2025-05-17 12:11:15 -06:00
1 parent 32169212d7
commit 54c92c9e89
2 files changed
+65

No files matched your search

@@ -26,6 +26,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
file://0001-liftoff-Correct-function-signatures.patch \
file://libatomic.patch \
file://182d9c05e78.patch \
file://zlib-fix-pointer-alignment.patch \
file://run-ptest \
"
SRC_URI:append:class-target = " \