From 9d418c483ea3bccf31cb6815af991c3192e630db Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 15 Apr 2018 14:33:15 +0530 Subject: [PATCH] Refresh the patch 2004 against newer Cargo.toml --- debian/patches/2004_clean-cargo-deps.patch | 51 +++++++++++++++++----- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/debian/patches/2004_clean-cargo-deps.patch b/debian/patches/2004_clean-cargo-deps.patch index 21e50efe1..d45ca6c58 100644 --- a/debian/patches/2004_clean-cargo-deps.patch +++ b/debian/patches/2004_clean-cargo-deps.patch @@ -11,20 +11,49 @@ Forwarded: not-needed This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Cargo.toml +++ b/Cargo.toml -@@ -56,11 +56,11 @@ +@@ -56,26 +56,26 @@ [target.'cfg(target_os = "macos")'.dependencies] - core-foundation = { version = "0.4.4", features = ["mac_os_10_7_support"] } + core-foundation = { version = "0.5.1", features = ["mac_os_10_7_support"] } -[target.'cfg(windows)'.dependencies] --kernel32-sys = "0.2" --miow = "0.2" --psapi-sys = "0.1" --winapi = "0.2" -+#[target.'cfg(windows)'.dependencies] -+#kernel32-sys = "0.2" -+#miow = "0.2" -+#psapi-sys = "0.1" -+#winapi = "0.2" +-miow = "0.3" ++# [target.'cfg(windows)'.dependencies] ++# miow = "0.3" + +-[target.'cfg(windows)'.dependencies.winapi] +-version = "0.3" +-features = [ +- "handleapi", +- "jobapi", +- "jobapi2", +- "minwindef", +- "ntdef", +- "processenv", +- "processthreadsapi", +- "psapi", +- "synchapi", +- "winerror", +- "winbase", +- "wincon", +- "winnt", +-] ++# [target.'cfg(windows)'.dependencies.winapi] ++# version = "0.3" ++# features = [ ++# "handleapi", ++# "jobapi", ++# "jobapi2", ++# "minwindef", ++# "ntdef", ++# "processenv", ++# "processthreadsapi", ++# "psapi", ++# "synchapi", ++# "winerror", ++# "winbase", ++# "wincon", ++# "winnt", ++# ] [dev-dependencies] bufstream = "0.1" -- 2.30.2