rpms/htop/EL-4 htop-0.8.1-processlist.patch, NONE, 1.1 htop.spec, 1.17, 1.18
Adam Miller
maxamillion at fedoraproject.org
Thu Feb 5 19:57:37 UTC 2009
Author: maxamillion
Update of /cvs/extras/rpms/htop/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27333
Modified Files:
htop.spec
Added Files:
htop-0.8.1-processlist.patch
Log Message:
Tree view bug, Rafal issued a fix and I am updating/building for EPEL
htop-0.8.1-processlist.patch:
--- NEW FILE htop-0.8.1-processlist.patch ---
--- ProcessList.c.orig 2008-09-23 08:23:14.000000000 +0200
+++ ProcessList.c 2009-02-05 19:11:29.000000000 +0100
@@ -563,9 +563,9 @@
process->pid = pid;
}
}
- if (parent) {
- process->tgid = parent->pid;
- }
+
+ process->tgid = parent ? parent->pid : pid;
+
if (showUserlandThreads && (!parent || pid != parent->pid)) {
char subdirname[MAX_NAME+1];
Index: htop.spec
===================================================================
RCS file: /cvs/extras/rpms/htop/EL-4/htop.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- htop.spec 18 Nov 2008 15:39:16 -0000 1.17
+++ htop.spec 5 Feb 2009 19:57:07 -0000 1.18
@@ -1,6 +1,6 @@
Name: htop
Version: 0.8.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Interactive process viewer
Summary(pl): Interaktywna przeglÄ
darka procesów
@@ -9,10 +9,11 @@
URL: http://htop.sourceforge.net/
Source0: http://download.sourceforge.net/htop/%{name}-%{version}.tar.gz
Patch0: %{name}-0.8.1-nonprint.patch
+Patch1: %{name}-0.8.1-processlist.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: desktop-file-utils
-BuildRequires: ncurses-devel
+BuildRequires: ncurses-devel, python
%description
htop is an interactive text-mode process viewer for Linux, similar to
@@ -26,6 +27,7 @@
%prep
%setup -q
%patch0 -p0
+%patch1 -p0
sed -i s#"INSTALL_DATA = @INSTALL_DATA@"#"INSTALL_DATA = @INSTALL_DATA@ -p"# Makefile.in
sed -i -e '2,3d' -e '9d' htop.desktop
@@ -63,6 +65,10 @@
%changelog
+* Thu Feb 05 2009 Adam Miller <maxamillion [AT] gmail.com> - 0.8.1-3
+- "Tree view doesn't work with threads hidden" fixed (#481072)
+- Rafal issued the fix, this is just the update and build for EPEL
+
* Tue Nov 18 2008 Adam Miller <maxamillion [AT] gmail.com> - 0.8.1-2
- non-printable character filter patch (#504144)
- Rafal fixed the bug, I just updated the EL packages.
More information about the fedora-extras-commits
mailing list