Skip to content

Commit

Permalink
Use autocfg 0.1.7 that fixes passing rustc features.
Browse files Browse the repository at this point in the history
This fixes the build errors with respect to traits and i128.
Delete the Cargo.lock file to have this new version accepted by cargo.
  • Loading branch information
wdehoog committed Oct 21, 2019
1 parent 1538c18 commit 61125da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion librespot/librespot_0.1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ PV_append = ".AUTOINC+551daadc44"
DEPENDS += "alsa-lib pulseaudio"
CARGO_BUILD_FLAGS += '--features "pulseaudio-backend"'

# delete the Cargo.lock file so we can override some crates
do_unpack_extra(){
rm ${WORKDIR}/git/Cargo.lock
}
addtask unpack_extra after do_unpack before do_patch

# please note if you have entries that do not begin with crate://
# you must change them to how that package can be fetched
SRC_URI += " \
Expand All @@ -34,7 +40,7 @@ SRC_URI += " \
crate://crates.io/arc-swap/0.3.11 \
crate://crates.io/arrayvec/0.4.11 \
crate://crates.io/atty/0.2.13 \
crate://crates.io/autocfg/0.1.5 \
crate://crates.io/autocfg/0.1.7 \
crate://crates.io/backtrace-sys/0.1.31 \
crate://crates.io/backtrace/0.3.33 \
crate://crates.io/base64/0.10.1 \
Expand Down

0 comments on commit 61125da

Please sign in to comment.