Skip to content

Commit

Permalink
addpatch: nodejs-lts-hydrogen
Browse files Browse the repository at this point in the history
Backport `[riscv64] Fix the StaticStackFrameSize` to fix vite.

- Upstream issue: nodejs/node#50503
- Upstream PR: nodejs/node#50506
  • Loading branch information
kxxt committed Nov 1, 2023
1 parent b06baa7 commit 71898ee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions nodejs-lts-hydrogen/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
--- PKGBUILD
+++ PKGBUILD
@@ -29,6 +29,14 @@ validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins <mylesbor
74F12602B6F1C4E913FAA37AD3A89613643B6201 # Danielle Adams <[email protected]>
61FC681DFB92A079F1685E77973F295594EC4689) # Juan José Arboleda <[email protected]>

+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}

0 comments on commit 71898ee

Please sign in to comment.