aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/780-fix-option-string.patch
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2018-04-26 18:32:53 +0200
committerDaniel Lange <DLange@git.local>2018-04-26 19:09:41 +0200
commite65f30245af3e878c81687efffa83029dbaa2a7a (patch)
treecb02a9f720763183d7582b5dd55097daffc466d5 /debian/patches/780-fix-option-string.patch
parent3d996de8464c052383de7aab5e4836882ce8762c (diff)
downloaddebian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.tar.gz
debian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.tar.bz2
debian_htop-e65f30245af3e878c81687efffa83029dbaa2a7a.zip
Updated patches for htop 2.2.0
Diffstat (limited to 'debian/patches/780-fix-option-string.patch')
-rw-r--r--debian/patches/780-fix-option-string.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/780-fix-option-string.patch b/debian/patches/780-fix-option-string.patch
new file mode 100644
index 0000000..a827389
--- /dev/null
+++ b/debian/patches/780-fix-option-string.patch
@@ -0,0 +1,23 @@
+From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001
+From: Christian Hesse <mail@eworm.de>
+Date: Tue, 10 Apr 2018 16:21:46 +0200
+Subject: [PATCH] fix option string
+
+This broke with commit db05ba61065f64b59d0014518be0786b5439e54c.
+---
+ htop.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/htop.c b/htop.c
+index 6db81dd7..678a3b8a 100644
+--- a/htop.c
++++ b/htop.c
+@@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
+
+ int opt, opti=0;
+ /* Parse arguments */
+- while ((opt = getopt_long(argc, argv, "hvCst::d:u:p:i", long_opts, &opti))) {
++ while ((opt = getopt_long(argc, argv, "hvCs:td:u:p:i", long_opts, &opti))) {
+ if (opt == EOF) break;
+ switch (opt) {
+ case 'h':

© 2014-2024 Faster IT GmbH | imprint | privacy policy