Skip to content

Commit

Permalink
updpatch: rust-bindgen 0.69.1-1
Browse files Browse the repository at this point in the history
- Fix rotten
- Upstream and Arch x86_64 released v0.69.1, which contains already merged patch: rust-lang/rust-bindgen#2678,
  so no need for it. (Successfully built without this patch)
  • Loading branch information
aimixsaka committed Nov 3, 2023
1 parent 529ccb8 commit 3d347cf
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions rust-bindgen/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
diff --git PKGBUILD PKGBUILD
index d81a7ea..de9851a 100644
--- PKGBUILD
+++ PKGBUILD
@@ -11,12 +11,15 @@ depends=('gcc-libs' 'clang')
makedepends=('cargo')
arch=('x86_64')
license=('BSD')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rust-lang/rust-bindgen/archive/v$pkgver.tar.gz")
-sha512sums=('4ec403283cf26e09fb46182b35e2690bec7085bafb2469b4c3222c7b487eacf7000b4094acf8e85a98ae7c51988679f965359cae7abe07ef0ee6f5d9238ad8cc')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rust-lang/rust-bindgen/archive/v$pkgver.tar.gz"
+ $pkgname-fix-version.patch::https://github.com/rust-lang/rust-bindgen/pull/2678.diff)
+sha512sums=('4ec403283cf26e09fb46182b35e2690bec7085bafb2469b4c3222c7b487eacf7000b4094acf8e85a98ae7c51988679f965359cae7abe07ef0ee6f5d9238ad8cc'
+ 'dbe1ab1094ca6b78e9de12127a4a42864bdd1f0c50a497832b60e57ca2a5bd7c7229d935c519ea1f6a4a1cc0f62cdfcfbe3c5fc4110adc0a4280e104040d9169')
@@ -16,7 +16,7 @@ sha512sums=('09189531f097ad7b27220150dac1dae8b042c3b6cd7cf1444388d25a0fb10c1116f

prepare() {
cd $pkgname-$pkgver
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ patch -p1 -i ../$pkgname-fix-version.patch
+ cargo fetch --locked
mkdir -p completions
}
Expand Down

0 comments on commit 3d347cf

Please sign in to comment.