community/wayshot: fix build on loongarch64

Update libc to v0.2.170
see:https://github.com/waycrate/wayshot/blob/main/Cargo.lock#L716
This commit is contained in:
Jingyun Hua 2024-05-08 06:44:25 +00:00 committed by Jakub Jirutka
parent 25ca5b18f1
commit 779e4bec54
2 changed files with 29 additions and 4 deletions

View File

@ -2,15 +2,15 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=wayshot
pkgver=1.3.1
pkgrel=0
pkgrel=1
pkgdesc="A native screenshot tool for wlroots based compositors"
url="https://github.com/waycrate/wayshot"
# s390x: no desktop on this arch
# loongarch64: blocked by libc crate
arch="all !s390x !loongarch64"
arch="all !s390x"
license="BSD-2-Clause"
makedepends="cargo cargo-auditable"
source="https://github.com/waycrate/wayshot/archive/$pkgver/wayshot-$pkgver.tar.gz"
source="https://github.com/waycrate/wayshot/archive/$pkgver/wayshot-$pkgver.tar.gz
cargo-update.patch"
options="!check" # no tests provided
@ -30,4 +30,5 @@ package() {
sha512sums="
395f3e03987d3dabaffaf898b05c1a1400a49664f07ea4bfd1920f106af870a8a38606d9cbd06040501ea6b6a6d1ee39e95f2e7826a08f7c4285ffd658e415af wayshot-1.3.1.tar.gz
a5bd9c4fdfe19195249dc3f90e7345a180aed48d672f0df4fde02f3820a1a8ffb3ab709e112d17eb28c8ebb32d6f4c3785121742d45a2e55414bf90609b86c74 cargo-update.patch
"

View File

@ -0,0 +1,24 @@
diff --git a/Cargo.lock b/Cargo.lock
index b335601..386bae7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
-version = 3
+version = 4
[[package]]
name = "adler"
@@ -271,9 +271,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
-version = "0.2.151"
+version = "0.2.170"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
+checksum = "875b3680cb2f8f71bdcf9a30f38d48282f5d3c95cbf9b3fa57269bb5d5c06828"
[[package]]
name = "libloading"