From aaf560f909973380a79ac2bc91a08a604286152d Mon Sep 17 00:00:00 2001 From: David Michael Date: Sat, 10 Feb 2018 18:32:59 -0500 Subject: [PATCH] dev-lang/rust: Apply CoreOS changes Prevent build failures with GCC 7 due to -Wimplicit-fallthrough. --- .../dev-lang/rust/{rust-1.23.0.ebuild => rust-1.23.0-r1.ebuild} | 2 ++ 1 file changed, 2 insertions(+) rename sdk_container/src/third_party/coreos-overlay/dev-lang/rust/{rust-1.23.0.ebuild => rust-1.23.0-r1.ebuild} (98%) diff --git a/sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0.ebuild b/sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0-r1.ebuild similarity index 98% rename from sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0.ebuild rename to sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0-r1.ebuild index eb5a124a96..116376fe5a 100644 --- a/sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/dev-lang/rust/rust-1.23.0-r1.ebuild @@ -67,6 +67,8 @@ src_prepare() { local rust_stage0_name="RUST_STAGE0_${ARCH}" local rust_stage0="${!rust_stage0_name}" + sed -i -e /-Werror/d src/binaryen/CMakeLists.txt + "${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig --destdir="${rust_stage0_root}" --prefix=/ || die default