]> git.proxmox.com Git - debcargo-conf.git/commitdiff
Update sniffglue patches
authorkpcyrd <git@rxv.cc>
Fri, 30 Aug 2019 14:23:44 +0000 (16:23 +0200)
committerkpcyrd <git@rxv.cc>
Fri, 30 Aug 2019 14:23:44 +0000 (16:23 +0200)
src/sniffglue/debian/patches/relax-deps.patch
src/sniffglue/debian/patches/series
src/sniffglue/debian/patches/structopt-0.3.patch [new file with mode: 0644]

index a77c854fd9327e1a2a8b5486f282d9c833dd1ace..670530c8194f1f741671f4ba2c4b64feb62ebaac 100644 (file)
@@ -1,6 +1,22 @@
 --- a/Cargo.toml
 +++ b/Cargo.toml
-@@ -85,7 +85,7 @@
+@@ -24,7 +24,7 @@
+ [lib]
+ doc = false
+ [dependencies.ansi_term]
+-version = "0.11"
++version = "0.12"
+ [dependencies.atty]
+ version = "0.2"
+@@ -79,13 +79,13 @@
+ version = "0.8"
+ [dependencies.structopt]
+-version = "0.2"
++version = "0.3"
+ [dependencies.threadpool]
  version = "1.7"
  
  [dependencies.tls-parser]
index bdddf05ae546555b06f7432fa9bd69cb4590599a..5ce86147c5c90565eeb2eb261cd95d8dda4556e8 100644 (file)
@@ -1 +1,2 @@
 relax-deps.patch
+structopt-0.3.patch
diff --git a/src/sniffglue/debian/patches/structopt-0.3.patch b/src/sniffglue/debian/patches/structopt-0.3.patch
new file mode 100644 (file)
index 0000000..ffe45c1
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/src/cli.rs
++++ b/src/cli.rs
+@@ -1,7 +1,7 @@
+ use structopt::clap::AppSettings;
+ #[derive(Debug, StructOpt)]
+-#[structopt(raw(global_settings = "&[AppSettings::ColoredHelp]"))]
++#[structopt(global_settings = &[AppSettings::ColoredHelp])]
+ pub struct Args {
+     /// Set device to promisc
+     #[structopt(short="p", long="promisc")]