Fix crash when launched with "-s" flag (bug# 1666551)

epel8
Mukundan Ragavan 6 years ago
parent f02f92ff02
commit 3ac26d8ce3

@ -1,6 +1,6 @@
Name: htop
Version: 2.2.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Interactive process viewer
License: GPLv2+
URL: http://hisham.hm/htop/
@ -19,6 +19,11 @@ top(1).
%autosetup
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
# fix parsing -s on the command line
# https://github.com/hishamhm/htop/pull/790/commits/9d03d6178c23e6ebd5dd67339466e0a7e0d1d1a8
# RH bz#1666551
sed -i 's/hvCst:/hvCts/' htop.c
%build
%configure \
--enable-openvz \
@ -43,6 +48,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/htop.1*
%changelog
* Wed Jan 16 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.2.0-3
- Fix crash when launched with "-s" flag (bug# 1666551)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

Loading…
Cancel
Save