Skip to content

Commit

Permalink
spotifyd: fix runtime crash.
Browse files Browse the repository at this point in the history
Issue in unsafe code led to a runtime panic if compiled with Rust 1.48
or newer.

Relevant information: Spotifyd/spotifyd#719

Fixes void-linux#28285
  • Loading branch information
ericonr authored and Yassine Labidi committed Feb 28, 2021
1 parent 9e75414 commit 5d43531
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion srcpkgs/spotifyd/template
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit 5d43531

Please sign in to comment.