summaryrefslogtreecommitdiff
path: root/system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-11-23 23:48:20 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-11-23 23:49:00 +0000
commit87b7e6989a3361c709ac98dec92c98869c10930a (patch)
tree28e926e12164de1976590756cfb4dee31c2da26a /system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch
parentcaf0551ffb6e9df3096e2bd0a7acc15efae21c28 (diff)
downloadslackbuilds-87b7e6989a3361c709ac98dec92c98869c10930a.tar.gz
system/vtcol: Silenced deprecation in newer rust versions.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch')
-rw-r--r--system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch b/system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch
new file mode 100644
index 0000000000..ef76ea2ef7
--- /dev/null
+++ b/system/vtcol/9dda18921a25f64e0a0da06e3417ce99f8bf9b41.patch
@@ -0,0 +1,24 @@
+From 9dda18921a25f64e0a0da06e3417ce99f8bf9b41 Mon Sep 17 00:00:00 2001
+From: Andrew Clemons <andrew.clemons@gmail.com>
+Date: Wed, 25 Oct 2017 21:35:14 +1300
+Subject: [PATCH] Silence warning for missing path for `vtcol` binary
+
+vtcol.rs should probably be main.rs, but explicitly setting the
+non-standard path also silences the warning. (src/bin would also work)
+---
+ Cargo.lock | 2 +-
+ Cargo.toml | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 16590af..0833d44 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -14,6 +14,7 @@ license = "GPL-3.0"
+
+ [[bin]]
+ name = "vtcol"
++path = "src/vtcol.rs"
+ test = false
+ doc = false
+