From 55babb8f349814230663098d27d8325835af1b06 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 17:17:40 +0200 Subject: [PATCH 1/2] spotify-tui: fix build with recent rust --- srcpkgs/spotify-tui/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/spotify-tui/template b/srcpkgs/spotify-tui/template index 8f94ee843c6f..3db1d2af43bf 100644 --- a/srcpkgs/spotify-tui/template +++ b/srcpkgs/spotify-tui/template @@ -13,7 +13,10 @@ distfiles="https://github.com/Rigellute/spotify-tui/archive/v${version}.tar.gz" checksum=9d6fa998e625ceff958a5355b4379ab164ba76575143a7b6d5d8aeb6c36d70a7 pre_build() { - cargo update --package openssl-sys --precise 0.9.58 + # fix various compilation issues + cargo update --package num-traits:0.2.12 --precise 0.2.15 + cargo update --package num-integer:0.1.43 --precise 0.1.45 + cargo update --package autocfg:1.0.0 --precise 1.1.0 } post_install() { From d7808bcb30064fde248dcb90523a9af95e98fcc9 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 17:24:14 +0200 Subject: [PATCH 2/2] spotifyd: fix build with recent rust --- srcpkgs/spotifyd/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/spotifyd/template b/srcpkgs/spotifyd/template index 6c16a1b12a29..f8525c981f01 100644 --- a/srcpkgs/spotifyd/template +++ b/srcpkgs/spotifyd/template @@ -29,3 +29,7 @@ _features+="$(vopt_if portaudio ',portaudio_backend')" if [ "$_features" ]; then configure_args+=" --features $_features" fi + +pre_build() { + cargo update --package priority-queue:1.1.1 --precise 1.2.3 +}