From c3695236cf39c5ea7f0172a267947e2d89a55f58 Mon Sep 17 00:00:00 2001 From: kxxt Date: Sun, 25 Jun 2023 15:46:51 +0800 Subject: [PATCH] upgpatch: deno Fix rotten --- deno/riscv64.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/deno/riscv64.patch b/deno/riscv64.patch index 26559dbe4..c84277a30 100644 --- a/deno/riscv64.patch +++ b/deno/riscv64.patch @@ -1,6 +1,6 @@ --- PKGBUILD +++ PKGBUILD -@@ -11,12 +11,31 @@ url="https://deno.land" +@@ -11,7 +11,7 @@ url="https://deno.land" license=('MIT') options=('!lto') depends=('gcc-libs') @@ -9,12 +9,14 @@ source=("git+https://github.com/denoland/deno.git#commit=$_commit") sha512sums=('SKIP') -+prepare() { -+ cd $pkgname +@@ -19,10 +19,25 @@ prepare() { + cd $pkgname + # https://github.com/denoland/deno/issues/19528 + git cherry-pick -n c8dc6b14ec5c1b6de28118ed3b07d037eaaaf702 + echo -e "\n[patch.crates-io]\nring = { git = 'https://github.com/felixonmars/ring', branch = '0.16.20' }" >> Cargo.toml + cargo update -p ring -+} -+ + } + build() { cd $pkgname +