diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-05-12 08:40:37 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-05-12 08:40:37 +0000 |
commit | fb4139831a62b698f2e9268f852b78e4379d7e49 (patch) | |
tree | be1821339d7fd73b982b934ad118a7671fea9c2f /sysutils/htop | |
parent | 3a6b12b974b7713cfedf09008546abb1a60ac15b (diff) | |
download | ports-fb4139831a62b698f2e9268f852b78e4379d7e49.tar.gz ports-fb4139831a62b698f2e9268f852b78e4379d7e49.zip |
Notes
Diffstat (limited to 'sysutils/htop')
-rw-r--r-- | sysutils/htop/Makefile | 1 | ||||
-rw-r--r-- | sysutils/htop/files/patch-ProcessList.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/htop/Makefile b/sysutils/htop/Makefile index 1e4d632c3dea..c751c0bad82e 100644 --- a/sysutils/htop/Makefile +++ b/sysutils/htop/Makefile @@ -7,6 +7,7 @@ PORTNAME= htop PORTVERSION= 0.8.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= SF diff --git a/sysutils/htop/files/patch-ProcessList.c b/sysutils/htop/files/patch-ProcessList.c new file mode 100644 index 000000000000..d91b39fe6d27 --- /dev/null +++ b/sysutils/htop/files/patch-ProcessList.c @@ -0,0 +1,14 @@ +--- ProcessList.c.orig 2009-03-21 23:21:46.000000000 +0800 ++++ ProcessList.c 2009-03-21 23:22:04.000000000 +0800 +@@ -563,9 +563,8 @@ + 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]; |