From e23b63d4a2c1da7398adf2fc9e559238f6681c5c Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 27 Nov 2018 05:08:21 -0200 Subject: [PATCH] topgrade: fix patch --- srcpkgs/topgrade/patches/aarch64-musl.patch | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/srcpkgs/topgrade/patches/aarch64-musl.patch b/srcpkgs/topgrade/patches/aarch64-musl.patch index 49c3c53401..7b2c6aa17c 100644 --- a/srcpkgs/topgrade/patches/aarch64-musl.patch +++ b/srcpkgs/topgrade/patches/aarch64-musl.patch @@ -1,14 +1,13 @@ -Use a version of the rust crate that doesn't error out on aarch-64musl with MAP_32BIT - diff --git a/Cargo.toml b/Cargo.toml -index 31ec7ed..21ed0e6 100644 +index ee0cb65..0e8b6ba 100644 --- Cargo.toml +++ Cargo.toml -@@ -32,6 +32,7 @@ lto = true +@@ -24,7 +24,7 @@ console = "0.6.2" + self_update = { version = "0.4.5", optional = true } - [patch.crates-io] - self_update = { git = "https://github.com/r-darwish/self_update", branch = "zip" } + [target.'cfg(unix)'.dependencies] +-nix = "0.11.0" +nix = { git = "https://github.com/nix-rust/nix", rev = "7f0fb19f21327e58faa71dace73c8b092c25c81b" } + lazy_static = "1.1.0" - [features] - default = [] + [profile.release]