Skip to content

Commit afd8ba7

Browse files
committed
updpatch: rust-bindgen 0.69.0-1.1
Apply patch to fix rust-lang/rust-bindgen#2677 for building mesa.
1 parent e267ff5 commit afd8ba7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

rust-bindgen/riscv64.patch

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1+
diff --git PKGBUILD PKGBUILD
2+
index d81a7ea..de9851a 100644
13
--- PKGBUILD
24
+++ PKGBUILD
3-
@@ -16,7 +16,7 @@ sha512sums=('71e1ec6ce4933a7a5451aa5baa47f885b9ec6b692bf2a2b3d8c1f2cce2c3cd3d941
5+
@@ -11,12 +11,15 @@ depends=('gcc-libs' 'clang')
6+
makedepends=('cargo')
7+
arch=('x86_64')
8+
license=('BSD')
9+
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rust-lang/rust-bindgen/archive/v$pkgver.tar.gz")
10+
-sha512sums=('4ec403283cf26e09fb46182b35e2690bec7085bafb2469b4c3222c7b487eacf7000b4094acf8e85a98ae7c51988679f965359cae7abe07ef0ee6f5d9238ad8cc')
11+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rust-lang/rust-bindgen/archive/v$pkgver.tar.gz"
12+
+ $pkgname-fix-version.patch::https://github.com/rust-lang/rust-bindgen/pull/2678.diff)
13+
+sha512sums=('4ec403283cf26e09fb46182b35e2690bec7085bafb2469b4c3222c7b487eacf7000b4094acf8e85a98ae7c51988679f965359cae7abe07ef0ee6f5d9238ad8cc'
14+
+ 'dbe1ab1094ca6b78e9de12127a4a42864bdd1f0c50a497832b60e57ca2a5bd7c7229d935c519ea1f6a4a1cc0f62cdfcfbe3c5fc4110adc0a4280e104040d9169')
415

516
prepare() {
617
cd $pkgname-$pkgver
718
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
19+
+ patch -p1 -i ../$pkgname-fix-version.patch
820
+ cargo fetch --locked
921
mkdir -p completions
1022
}

0 commit comments

Comments
 (0)