community/gfold: fix build on loongarch64

Update libc to v0.2.155

Signed-off-by: Weijie Wang <wangweijie@loongson.cn>
This commit is contained in:
Weijie Wang 2024-05-30 03:10:55 +00:00 committed by Patrycja Rosa
parent 42e4568e22
commit 336ace0bd9
2 changed files with 20 additions and 1 deletions

View File

@ -9,7 +9,9 @@ license="Apache-2.0"
arch="all"
makedepends="cargo cargo-auditable"
options="net"
source="https://github.com/nickgerace/gfold/archive/$pkgver/gfold-$pkgver.tar.gz"
source="https://github.com/nickgerace/gfold/archive/$pkgver/gfold-$pkgver.tar.gz
update-rust-libc.patch
"
prepare() {
default_prepare
@ -32,4 +34,5 @@ package() {
sha512sums="
46066d2455e3a25108157af04dcd253d4c62a43299c8388407d3bc1a753b8ae183b7e5ebf11294e37078563a237fd7177062d611a8111507e49caa78ea3b72eb gfold-4.4.1.tar.gz
75c26dd03524583690803f6b068de62e4b4a838619795ab09d27f09dd890c999db85fd89dab04483de3e890911ea0b7409c6eeb867002ceed696323531657d77 update-rust-libc.patch
"

View File

@ -0,0 +1,16 @@
diff --git a/Cargo.lock b/Cargo.lock
index 5b9e337..4f456fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -377,9 +377,9 @@ dependencies = [
[[package]]
name = "libc"
-version = "0.2.151"
+version = "0.2.155"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
+checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
[[package]]
name = "libgfold"