summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormycroft <mycroft>2003-09-30 22:09:04 +0000
committermycroft <mycroft>2003-09-30 22:09:04 +0000
commit7530a3c73be30b70c24e1f9cb151a6c588e0120a (patch)
treef356c92ab936acbdb3144a74a9382f58a92b8a71 /sysutils
parente5ce3c22baeb0b131b8c09e5d46aadaade18281c (diff)
downloadpkgsrc-7530a3c73be30b70c24e1f9cb151a6c588e0120a.tar.gz
Previous patch wasn't complete...
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gtop/distinfo4
-rw-r--r--sysutils/gtop/patches/patch-ac21
2 files changed, 21 insertions, 4 deletions
diff --git a/sysutils/gtop/distinfo b/sysutils/gtop/distinfo
index 0a400f827ea..80026b6c834 100644
--- a/sysutils/gtop/distinfo
+++ b/sysutils/gtop/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2003/09/30 22:06:04 mycroft Exp $
+$NetBSD: distinfo,v 1.6 2003/09/30 22:09:04 mycroft Exp $
SHA1 (gtop-1.0.13.tar.gz) = 114b3068c6c66b7cd582c6bfe2d1143957ae5a19
Size (gtop-1.0.13.tar.gz) = 823015 bytes
SHA1 (patch-aa) = 5f17676fc7fca9cf8b99dc02fd34142f99ff5fd3
SHA1 (patch-ab) = d97ba2e37838cd93be8b1d33ebdfe81d6d64b1d1
-SHA1 (patch-ac) = cce27175647e81e6e8cc94f80241006f8cdbfd60
+SHA1 (patch-ac) = 3e75988a836ac141dd393e83a059ea97c89ecac9
diff --git a/sysutils/gtop/patches/patch-ac b/sysutils/gtop/patches/patch-ac
index 1a525a97cdd..188fcd1cc08 100644
--- a/sysutils/gtop/patches/patch-ac
+++ b/sysutils/gtop/patches/patch-ac
@@ -1,7 +1,24 @@
-$NetBSD: patch-ac,v 1.1 2003/09/30 22:06:04 mycroft Exp $
+$NetBSD: patch-ac,v 1.2 2003/09/30 22:09:04 mycroft Exp $
--- procview.c.orig 2001-02-15 00:57:30.000000000 +0000
-+++ procview.c 2003-09-30 22:04:42.000000000 +0000
++++ procview.c 2003-09-30 22:07:29.000000000 +0000
+@@ -96,14 +96,14 @@
+ \
+ static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \
+ { \
+- return (*P)->d->sort_order * ((*P)-> ## NAME - (*Q)-> ## NAME); \
++ return (*P)->d->sort_order * ((*P)->NAME - (*Q)->NAME); \
+ }
+
+ #define CMP_INT(NAME) \
+ \
+ static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \
+ { \
+- return (*P)->d->sort_order * ((*P)->p-> ## NAME - (*Q)->p-> ## NAME); \
++ return (*P)->d->sort_order * ((*P)->p->NAME - (*Q)->p->NAME); \
+ }
+
+ #define CMP_INT2(NAME,V1,V2) \
@@ -118,7 +118,7 @@
\
static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \