rpms/htop/F-10 htop-0.8.1-processlist.patch, NONE, 1.1 htop.spec, 1.17, 1.18

Rafał Psota rafalzaq at fedoraproject.org
Thu Feb 5 18:36:32 UTC 2009


Author: rafalzaq

Update of /cvs/pkgs/rpms/htop/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13835

Modified Files:
	htop.spec 
Added Files:
	htop-0.8.1-processlist.patch 
Log Message:
#481072 fix

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/pkgs/rpms/htop/F-10/htop.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- htop.spec	18 Nov 2008 12:21:08 -0000	1.17
+++ htop.spec	5 Feb 2009 18:36:02 -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,6 +9,7 @@
 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}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -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,16 +65,24 @@
 
 
 %changelog
+* Thu Feb 05 2009 Rafał Psota <rafalzaq at gmail.com> - 0.8.1-3
+- "Tree view doesn't work with threads hidden" fixed (#481072)
+
 * Tue Nov 18 2008 Rafał Psota <rafalzaq at gmail.com> - 0.8.1-2
 - non-printable character filter patch (#504144)
+
 * Tue Oct 14 2008 Rafał Psota <rafalzaq at gmail.com> - 0.8.1-1
 - update to 0.8.1
+
 * Thu Jul 31 2008 Rafał Psota <rafalzaq at gmail.com> - 0.8-1
 - udate to 0.8
+
 * Sun Apr 27 2008 Rafał Psota <rafalzaq at gmail.com> - 0.7-2
 - desktop file fix
+
 * Mon Feb 11 2008 Rafał Psota <rafalzaq at gmail.com> - 0.7-1
 - update to 0.7
+
 * Sat Dec  9 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 0.6.5-1
 - Update to 0.6.5
 




More information about the fedora-extras-commits mailing list