fselect: fix build on ppc64le-musl

This commit is contained in:
q66 2022-05-09 17:12:40 +02:00
parent e8d8fb1b00
commit 249d9c893b
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@ homepage="https://github.com/jhspetersson/fselect"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=33dfcbbf7e598bce479b1fb5c17429af1bb309beab2e4bc95642e9f4b5c2ffbd
post_patch() {
# in rustix-0.32.x:
#
# libc::BLKSSZGET as c::c_ulong,
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `u64`
#
# remove on next version update
cargo update --package fd-lock --precise 3.0.5
}
post_install() {
vlicense LICENSE-MIT
}