diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-05-15 22:23:30 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-05-15 22:23:30 (GMT) |
commit | 62df34a9ded09d82a7b192da7534313c81b58eb0 (patch) | |
tree | 5812ad775367b2b68399055b13d532b912d1f37e /abs/extra/htop/0001-fix-option-string.patch | |
parent | 5884451d32518256cc1e41a9206678bb2153e0a0 (diff) | |
download | linhes_pkgbuild-62df34a9ded09d82a7b192da7534313c81b58eb0.zip linhes_pkgbuild-62df34a9ded09d82a7b192da7534313c81b58eb0.tar.gz linhes_pkgbuild-62df34a9ded09d82a7b192da7534313c81b58eb0.tar.bz2 |
htop: update to 2.2.0
Diffstat (limited to 'abs/extra/htop/0001-fix-option-string.patch')
-rw-r--r-- | abs/extra/htop/0001-fix-option-string.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/extra/htop/0001-fix-option-string.patch b/abs/extra/htop/0001-fix-option-string.patch new file mode 100644 index 0000000..d877e03 --- /dev/null +++ b/abs/extra/htop/0001-fix-option-string.patch @@ -0,0 +1,25 @@ +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 1/1] fix option string + +This broke with commit db05ba61065f64b59d0014518be0786b5439e54c. + +Signed-off-by: Christian Hesse <mail@eworm.de> +--- + htop.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/htop.c b/htop.c +index 6db81dd..678a3b8 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': |