spotifyd: fix runtime crash.

Issue in unsafe code led to a runtime panic if compiled with Rust 1.48
or newer.

Relevant information: https://github.com/Spotifyd/spotifyd/issues/719

Fixes #28285
This commit is contained in:
Érico Rolim 2021-02-20 16:12:01 -03:00 committed by Andrew Benson
parent fe2cb6ae4c
commit 9a05560248

View file

@ -1,7 +1,7 @@
# Template file for 'spotifyd'
pkgname=spotifyd
version=0.3.0
revision=1
revision=2
build_style=cargo
configure_args="--no-default-features"
hostmakedepends="pkg-config"
@ -35,6 +35,10 @@ case "$XBPS_TARGET_MACHINE" in
aarch64-musl) broken="https://travis-ci.org/void-linux/void-packages/jobs/636076091" ;;
esac
post_patch() {
vsed -e 's/"with-tremor"//' -i Cargo.toml
}
pre_build() {
cargo update --package openssl-sys --precise 0.9.58
}