mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/cargo-outdated: bump libc and time crates to fix build with rust 1.80+
This commit is contained in:
parent
4968d5fbe8
commit
fd9436e926
@ -19,7 +19,6 @@ makedepends="
|
||||
subpackages="$pkgname-doc"
|
||||
options="net"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/kbknapp/cargo-outdated/archive/v$pkgver.tar.gz
|
||||
update-rust-libc.patch
|
||||
"
|
||||
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
@ -38,6 +37,8 @@ prepare() {
|
||||
git2 = { rustc-link-lib = ["git2"] }
|
||||
EOF
|
||||
|
||||
cargo add libc@0.2.155 time@0.3.35
|
||||
|
||||
cargo fetch --target="$CTARGET" --locked
|
||||
}
|
||||
|
||||
@ -60,5 +61,4 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
3ed221452680d32357e539ae6ca30303ecc44d6ba540cabf997ffab06f6fe833dcaa2423249d2073c04a29e692aa529bc27fc4417fd76476ac29742c70f9f436 cargo-outdated-0.14.0.tar.gz
|
||||
1d19669578169c870830745189c2a3c6dcb639cf3d2df23fc04c8ac439c8eaff447639f6687fef2963a7ba80ad3f951fb3b2a56f43c869ddd2b75e608d43e70f update-rust-libc.patch
|
||||
"
|
||||
|
@ -1,16 +0,0 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index 111c8cd..65bca1d 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -1631,9 +1631,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
-version = "0.2.149"
|
||||
+version = "0.2.155"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
|
||||
+checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
|
||||
|
||||
[[package]]
|
||||
name = "libgit2-sys"
|
Loading…
Reference in New Issue
Block a user