Skip to content

Commit

Permalink
updpatch: nodejs-lts-hydrogen 18.20.2-3
Browse files Browse the repository at this point in the history
patch landed in 18.19.0
  • Loading branch information
kxxt authored and felixonmars committed May 18, 2024
1 parent 35a41e3 commit 2460456
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions nodejs-lts-hydrogen/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
--- PKGBUILD
+++ PKGBUILD
@@ -29,7 +29,21 @@ validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins <mylesbor
@@ -29,7 +29,13 @@ validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 # Myles Borins <mylesbor
74F12602B6F1C4E913FAA37AD3A89613643B6201 # Danielle Adams <adamzdanielle@gmail.com>
61FC681DFB92A079F1685E77973F295594EC4689) # Juan José Arboleda <soyjuanarbol@gmail.com>

+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"
+}
+
+_set_compilation_env() {
+ export CFLAGS=${CFLAGS/-O2}
+ export CXXFLAGS=${CXXFLAGS/-O2}
Expand All @@ -22,7 +14,7 @@
cd node-v${pkgver}

./configure \
@@ -85,6 +99,7 @@ check() {
@@ -85,6 +91,7 @@ check() {
}

package() {
Expand Down

0 comments on commit 2460456

Please sign in to comment.