diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template index d465e89e91a..f4d430b2dd2 100644 --- a/srcpkgs/rust/template +++ b/srcpkgs/rust/template @@ -1,6 +1,6 @@ # Template file for 'rust' pkgname=rust -version=1.33.0 +version=1.34.0 revision=1 _rust_dist_version=1.33.0 _cargo_dist_version=0.33.0 @@ -18,13 +18,14 @@ maintainer="Enno Boland " license="MIT, Apache-2.0" homepage="https://www.rust-lang.org/" distfiles="https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz" -checksum=5a01a8d7e65126f6079042831385e77485fa5c014bf217e9f3e4aff36a485d94 +checksum=7ac85acffd79dd3a7c44305d9eaabd1f1e7116e2e6e11e770e4bf5f92c0f1f59 lib32disabled=yes patch_args="-Np1" build_options="internal_llvm" if [ "$CROSS_BUILD" ]; then + broken="build host rustc first" hostmakedepends+=" cargo $(vopt_if internal_llvm '' llvm)" # These are required for building the buildhost's stage0/1 @@ -117,14 +118,14 @@ post_extract() { post_patch() { if [ "$build_option_internal_llvm" ]; then # patches for Rust's bundled LLVM - pushd src/llvm + pushd src/llvm-project/llvm for x in ${FILESDIR}/patches/internal-llvm/llvm-*.patch; do msg_normal "Applying $x to llvm\n" patch -sNp1 -i ${x} done popd else - rm -rf src/llvm + rm -rf src/llvm-project # patches for system LLVM for x in ${FILESDIR}/patches/sys-llvm/*.patch; do msg_normal "Applying patch $x\n"