From 52fb6b12dca881a658f24c14016edddf7d04acf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 20 Feb 2021 16:12:01 -0300 Subject: [PATCH] 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 --- srcpkgs/spotifyd/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template index cb77beb238b..d805510b9af 100644 --- a/srcpkgs/spotifyd/template +++ b/srcpkgs/spotifyd/template @@ -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 }