[arch-commits] Commit in htop/trunk (2 files)

Christian Hesse eworm at archlinux.org
Tue Sep 15 06:14:55 UTC 2020


    Date: Tuesday, September 15, 2020 @ 06:14:54
  Author: eworm
Revision: 396141

upgpkg: htop 3.0.2-1: new upstream release

Modified:
  htop/trunk/PKGBUILD
Deleted:
  htop/trunk/0001-Fix-regression-in-u-optional-argument-handling.patch

-----------------------------------------------------------+
 0001-Fix-regression-in-u-optional-argument-handling.patch |   23 ------------
 PKGBUILD                                                  |   12 ++----
 2 files changed, 4 insertions(+), 31 deletions(-)

Deleted: 0001-Fix-regression-in-u-optional-argument-handling.patch
===================================================================
--- 0001-Fix-regression-in-u-optional-argument-handling.patch	2020-09-14 18:52:50 UTC (rev 396140)
+++ 0001-Fix-regression-in-u-optional-argument-handling.patch	2020-09-15 06:14:54 UTC (rev 396141)
@@ -1,23 +0,0 @@
-From 0750ff7e76d845a70749cc00fa25dbe98a7147a1 Mon Sep 17 00:00:00 2001
-From: Nathan Scott <nathans at redhat.com>
-Date: Fri, 4 Sep 2020 09:49:30 +1000
-Subject: [PATCH] Fix regression in -u optional-argument handling
-
-Resolves https://github.com/htop-dev/htop/issues/91
----
- htop.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/htop.c b/htop.c
-index bbf3a91..37727d0 100644
---- a/htop.c
-+++ b/htop.c
-@@ -98,7 +98,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) {
- 
-    int opt, opti=0;
-    /* Parse arguments */
--   while ((opt = getopt_long(argc, argv, "hvmCs:td:u:Up:", long_opts, &opti))) {
-+   while ((opt = getopt_long(argc, argv, "hvmCs:td:u::Up:", long_opts, &opti))) {
-       if (opt == EOF) break;
-       switch (opt) {
-          case 'h':

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-14 18:52:50 UTC (rev 396140)
+++ PKGBUILD	2020-09-15 06:14:54 UTC (rev 396141)
@@ -4,8 +4,8 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=htop
-pkgver=3.0.1
-pkgrel=2
+pkgver=3.0.2
+pkgrel=1
 pkgdesc='Interactive process viewer'
 arch=('x86_64')
 url='https://htop.dev/'
@@ -14,16 +14,12 @@
 optdepends=('lsof: show files opened by a process'
             'strace: attach to a running process')
 options=('!emptydirs')
-source=("https://github.com/htop-dev/htop/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        '0001-Fix-regression-in-u-optional-argument-handling.patch')
-sha256sums=('8465164bc085f5f1813e1d3f6c4b9b56bf4c95cc12226a5367e65794949b01ca'
-            'b06ea0ea03629ecd3b304a26251613de3290f65d89af5d73b5b9274aca8cb7e7')
+source=("https://github.com/htop-dev/htop/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('b4744a3bea279f2a3725ed8e5e35ffd9cb10d66673bf07c8fe21feb3c4661305')
 
 prepare() {
   cd "$pkgname-$pkgver"
 
-  patch -Np1 -i ../0001-Fix-regression-in-u-optional-argument-handling.patch
-
   autoreconf -fi
 }
 



More information about the arch-commits mailing list