mirror of
https://abf.rosa.ru/djam/htop.git
synced 2025-02-23 17:02:53 +00:00
Updated to 3.0.1
This commit is contained in:
parent
8117bfd8e3
commit
185ba3182c
3 changed files with 3 additions and 28 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
htop-3.0.0.tar.gz: 56f1907a215bc14fa643cf1b22de811ce181a326
|
||||
htop-3.0.1.tar.gz: 5d567ebb3cdffce43ab22ad5ab1838aea53c9151
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
From 214450d636c2c543e3026a214ff647fa0a8631c0 Mon Sep 17 00:00:00 2001
|
||||
From: Shlomi Fish <shlomif@shlomifish.org>
|
||||
Date: Wed, 25 Apr 2018 22:53:27 +0300
|
||||
Subject: [PATCH] Fix for a crash on dash-s.
|
||||
|
||||
See https://github.com/hishamhm/htop/issues/787 .
|
||||
---
|
||||
htop.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/htop.c b/htop.c
|
||||
index 6db81dd7..475fda25 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:t::d:u:p:i", long_opts, &opti))) {
|
||||
if (opt == EOF) break;
|
||||
switch (opt) {
|
||||
case 'h':
|
|
@ -1,13 +1,11 @@
|
|||
Summary: Interactive text-mode process viewer for Linux
|
||||
Name: htop
|
||||
Version: 3.0.0
|
||||
Version: 3.0.1
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Group: Monitoring
|
||||
Url: https://htop.dev
|
||||
Source0: https://github.com/htop-dev/htop/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
||||
# upstream patch
|
||||
#Patch0: htop-2.2.0-fix-for-a-crash-on-dash-s.patch
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: pkgconfig(ncursesw)
|
||||
BuildRequires: pkgconfig(ncurses)
|
||||
|
@ -36,9 +34,9 @@ Some advantages over top:
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%global optflags %{optflags} -fno-strict-aliasing
|
||||
./autogen.sh
|
||||
%configure
|
||||
%make
|
||||
|
|
Loading…
Add table
Reference in a new issue