Skip to content

Commit

Permalink
upgpatch: nodejs
Browse files Browse the repository at this point in the history
Upstream landed the V8 jit fix in v20.2.0

See also:

- nodejs/node#47399
- nodejs/node#48020
  • Loading branch information
kxxt committed May 20, 2023
1 parent 7cebdd4 commit 79fee03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 114 deletions.
95 changes: 0 additions & 95 deletions nodejs/nodejs-v8-jit-fix.patch

This file was deleted.

20 changes: 1 addition & 19 deletions nodejs/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
--- PKGBUILD
+++ PKGBUILD
@@ -19,8 +19,15 @@ options=(!lto)
depends=('brotli' 'openssl' 'zlib' 'icu' 'libuv' 'libnghttp2' 'c-ares') # 'http-parser' 'v8')
makedepends=('git' 'python' 'procps-ng')
optdepends=('npm: nodejs package manager')
-source=("git+https://github.com/nodejs/node.git#commit=$_commit")
-sha512sums=('SKIP')
+source=("git+https://github.com/nodejs/node.git#commit=$_commit"
+ "nodejs-v8-jit-fix.patch")
+sha512sums=('SKIP'
+ 'fb4fa53b99e69ab7ae9c7d1483bb73169e2adba36edfc4e76e2edbcce7f054d17580405977d02e34f712696be7770d3dfde01501b507f92383c6e44ec899c74f')
+
+prepare() {
+ cd node
+ patch -Np1 -i ../nodejs-v8-jit-fix.patch
+}

build() {
cd node
@@ -40,12 +47,13 @@ build() {
@@ -40,12 +40,13 @@ build() {
# --shared-v8
# --shared-http-parser

Expand Down

0 comments on commit 79fee03

Please sign in to comment.