Skip to content

Commit

Permalink
addpatch: rio
Browse files Browse the repository at this point in the history
- Fix broken rust target.
- Workaround rustc bug: rust-lang/rust#110224
  • Loading branch information
kxxt committed Sep 10, 2023
1 parent 09f24ee commit 366c266
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rio/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- PKGBUILD
+++ PKGBUILD
@@ -25,7 +25,8 @@ sha512sums=('3b3fd074d8f5fb90dc9f8c6922431facf873181bdc030f696bd6f6018bf0439f8d3

prepare() {
cd "${pkgbase}-${pkgver}"
- cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
+ sed -i '/^split-debuginfo\s*=\s*"unpacked"/d' Cargo.toml
+ cargo fetch --locked
}

build() {

0 comments on commit 366c266

Please sign in to comment.