diff options
author | pav <pav@FreeBSD.org> | 2009-05-12 16:40:37 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-05-12 16:40:37 +0800 |
commit | 7fe1bf0283f4ea8743b15c95ce5b4f3aa61af9da (patch) | |
tree | f7a1b6b2125b779d1bb5512519334347c06d5781 /sysutils | |
parent | 1099606cf98ed962d1e1355cdb814a2bebe3004b (diff) | |
download | freebsd-ports-gnome-7fe1bf0283f4ea8743b15c95ce5b4f3aa61af9da.tar.gz freebsd-ports-gnome-7fe1bf0283f4ea8743b15c95ce5b4f3aa61af9da.tar.zst freebsd-ports-gnome-7fe1bf0283f4ea8743b15c95ce5b4f3aa61af9da.zip |
- Fix tree view
PR: ports/132909
Submitted by: Hung-Yi Chen <gaod@hychen.org>
Approved by: maintainer timeout (1 month)
Diffstat (limited to 'sysutils')
-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]; |