From 34fda4befb5f5adfdf0ce29790ee7eecaedde8a6 Mon Sep 17 00:00:00 2001 From: kxxt Date: Tue, 28 May 2024 23:02:15 +0800 Subject: [PATCH] rmvpatch for arch fixed rust targets legba's patch also contains other changes than fixing the rust target, but it should be safe to delete as https://github.com/evilsocket/legba/pull/43 is released in https://github.com/evilsocket/legba/releases/tag/v0.9.0 --- git-branchless/riscv64.patch | 13 ------------- legba/riscv64.patch | 16 ---------------- taskwarrior-tui/riscv64.patch | 13 ------------- 3 files changed, 42 deletions(-) delete mode 100644 git-branchless/riscv64.patch delete mode 100644 legba/riscv64.patch delete mode 100644 taskwarrior-tui/riscv64.patch diff --git a/git-branchless/riscv64.patch b/git-branchless/riscv64.patch deleted file mode 100644 index 02a770d83..000000000 --- a/git-branchless/riscv64.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git PKGBUILD PKGBUILD -index 8287343c..7974c436 100644 ---- PKGBUILD -+++ PKGBUILD -@@ -17,7 +17,7 @@ sha256sums=('90a69356573acd0984607749cc18706c5a2410e1d59b553df5271ad3e4147dbf') - - prepare() { - cd "$_archive" -- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -+ cargo fetch --locked - } - - build() { diff --git a/legba/riscv64.patch b/legba/riscv64.patch deleted file mode 100644 index 1e1f63126..000000000 --- a/legba/riscv64.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git PKGBUILD PKGBUILD -index ee9e3fa..deda68c 100644 ---- PKGBUILD -+++ PKGBUILD -@@ -24,7 +24,10 @@ b2sums=('ddf7ef92616148c609f6e7aa9aeca5df0ca2f2898bbd22343086d22be09c862081dc562 - - prepare() { - cd "${pkgname}-${pkgver}" -- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -+ # add riscv64 support: https://github.com/veeso/pavao/pull/12 -+ sed -i 's|\[patch.crates-io\]|[patch.crates-io]\npavao = { git = "https://github.com/veeso/pavao.git", rev = "9d2bd6a" }|' Cargo.toml -+ cargo update -p pavao -+ cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" - } - - build() { diff --git a/taskwarrior-tui/riscv64.patch b/taskwarrior-tui/riscv64.patch deleted file mode 100644 index cb0ea03e5..000000000 --- a/taskwarrior-tui/riscv64.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git PKGBUILD PKGBUILD -index ad91c00cd..cc5f50231 100644 ---- PKGBUILD -+++ PKGBUILD -@@ -16,7 +16,7 @@ sha256sums=('d79aa2c3c6dfe6ee8570077680016e69420b77eea7916b033c34d75c35b61059' - - prepare() { - cd "$pkgname-$pkgver" -- cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -+ cargo fetch --locked - } - - build() {