summaryrefslogtreecommitdiff
path: root/sysutils/top
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2004-09-16 13:32:16 +0000
committerhe <he@pkgsrc.org>2004-09-16 13:32:16 +0000
commitc977f8a2b706e5789cc8c0e8e85cefdbf38fda80 (patch)
tree7a4193c96b0844c71071cbe518e67df4460ef560 /sysutils/top
parent1133135275e8d21ea38d26c78a6b8c64b536f9b9 (diff)
downloadpkgsrc-c977f8a2b706e5789cc8c0e8e85cefdbf38fda80.tar.gz
Fix typo in m_netbsd16.c; it's compare_index, not compare_inddex.
Fixes build on netbsd-1-6.
Diffstat (limited to 'sysutils/top')
-rw-r--r--sysutils/top/distinfo4
-rw-r--r--sysutils/top/patches/patch-am6
2 files changed, 5 insertions, 5 deletions
diff --git a/sysutils/top/distinfo b/sysutils/top/distinfo
index 98eb6440dc3..5160e73170a 100644
--- a/sysutils/top/distinfo
+++ b/sysutils/top/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2004/09/10 01:39:32 jschauma Exp $
+$NetBSD: distinfo,v 1.9 2004/09/16 13:32:16 he Exp $
SHA1 (top-3.6alpha7.tar.gz) = b0336ddc2482b6a52f5345855bf46e0de7d8438a
Size (top-3.6alpha7.tar.gz) = 295433 bytes
SHA1 (patch-aj) = 0a15ee8d2581e6150bfdc6c893971147d30cb914
SHA1 (patch-ak) = 899d1263df15d8389c9391d173369141170ab7ea
SHA1 (patch-al) = e9619f30350d9357a2a20a1d509a69eadf2b287e
-SHA1 (patch-am) = 18495242954b15f57c14779c8e7d67d73be2b60b
+SHA1 (patch-am) = 565aa4a0dda8d0171f3f11d4edde79a53677a436
SHA1 (patch-an) = aa2abb6a2e656ae3a7b379cc5a1867fe673e51e5
diff --git a/sysutils/top/patches/patch-am b/sysutils/top/patches/patch-am
index 194326fe09e..32cdc4f239f 100644
--- a/sysutils/top/patches/patch-am
+++ b/sysutils/top/patches/patch-am
@@ -1,6 +1,6 @@
-$NetBSD: patch-am,v 1.1 2004/07/12 08:14:44 cube Exp $
+$NetBSD: patch-am,v 1.2 2004/09/16 13:32:16 he Exp $
---- machine/m_netbsd16.c.orig 2004-07-12 09:11:00.000000000 +0200
+--- machine/m_netbsd16.c.orig Thu Sep 16 15:39:54 2004
+++ machine/m_netbsd16.c
@@ -0,0 +1,837 @@
+/* NetBSD: m_netbsd15.c,v 1.16 2002/03/23 01:28:11 thorpej Exp */
@@ -444,7 +444,7 @@ $NetBSD: patch-am,v 1.1 2004/07/12 08:14:44 cube Exp $
+ /* if requested, sort the "interesting" processes */
+ qsort((char *)pref, active_procs, sizeof(struct kinfo_proc2 *),
+ (int (*) __P((const void *, const void *)))
-+ proc_compares[compare_inddex]);
++ proc_compares[compare_index]);
+
+ /* remember active and total counts */
+ si->p_total = total_procs;