From 3d87f132e88a7e62b537480caf7981d86162cc0f Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Mon, 18 Feb 2019 20:27:53 +0100 Subject: [PATCH] gxi: update to 0.5.3. --- srcpkgs/gxi/patches/no-release-opt.patch | 12 ++++++++++++ srcpkgs/gxi/template | 8 ++------ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/gxi/patches/no-release-opt.patch diff --git a/srcpkgs/gxi/patches/no-release-opt.patch b/srcpkgs/gxi/patches/no-release-opt.patch new file mode 100644 index 00000000000..b1ea255bbff --- /dev/null +++ b/srcpkgs/gxi/patches/no-release-opt.patch @@ -0,0 +1,12 @@ +Our rust doesn't like LTO due to us using LLVM 7 + +--- Cargo.toml ++++ Cargo.toml +@@ -40,7 +40,3 @@ gettext-rs = { version="0.4", features=["gettext-system"] } + crossbeam-deque = "0.7" + cairo-sys-rs = {git="https://github.com/gtk-rs/cairo"} + human-panic = "1" +- +-[profile.release] +-lto = true +-codegen-units = 1 diff --git a/srcpkgs/gxi/template b/srcpkgs/gxi/template index a05d832d801..f593d9fb8e2 100644 --- a/srcpkgs/gxi/template +++ b/srcpkgs/gxi/template @@ -1,6 +1,6 @@ # Template file for 'gxi' pkgname=gxi -version=0.5.1 +version=0.5.3 revision=1 build_style=meson build_helper=rust @@ -12,11 +12,7 @@ maintainer="Rasmus Thomsen " license="MIT" homepage="https://github.com/Cogitri/gxi" distfiles="https://github.com/Cogitri/gxi/releases/download/v${version}/gxi-${version}.tar.xz" -checksum=300a596afbdc9e743d439bcb91b7757615c5c82ccf7a53e02f36fdf7968dc24c - -case "$XBPS_TARGET_MACHINE" in - *-musl) broken="Fails to run subcommand" ;; -esac +checksum=f54f60b415826244407fe4c5211e62cda2634ae34a959104f7202405d65926d7 if [ "$CROSS_BUILD" ]; then configure_args+="-Drust-target=${RUST_TARGET}"