From 32d1b2eff2b369fd5bd4842931cf43e10ee6a4a4 Mon Sep 17 00:00:00 2001 From: kxxt Date: Wed, 1 Nov 2023 23:10:49 +0800 Subject: [PATCH] addpatch: nodejs-lts-hydrogen Backport `[riscv64] Fix the StaticStackFrameSize` to fix vite. - Upstream issue: https://github.com/nodejs/node/issues/50503 - Upstream PR: https://github.com/nodejs/node/pull/50506 --- nodejs-lts-hydrogen/riscv64.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nodejs-lts-hydrogen/riscv64.patch diff --git a/nodejs-lts-hydrogen/riscv64.patch b/nodejs-lts-hydrogen/riscv64.patch new file mode 100644 index 000000000..3656c90a5 --- /dev/null +++ b/nodejs-lts-hydrogen/riscv64.patch @@ -0,0 +1,17 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -29,6 +29,14 @@ validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins + 61FC681DFB92A079F1685E77973F295594EC4689) # Juan José Arboleda + ++source+=(nodejs18-fix-vite.patch::https://github.com/v8/v8/commit/70caf337c3f69b16ac9ffec0d9a776aa95f896fc.diff) ++sha256sums+=(fd68d81e9b559cdbc7df6b232e06dd0c127025883ac9dd03a86212812174078d) ++ ++prepare() { ++ cd node-v${pkgver}/deps/v8 ++ patch -Np1 -i "${srcdir}/nodejs18-fix-vite.patch" ++} ++ + build() { + cd node-v${pkgver} +