More GCC3 flotsam.

This commit is contained in:
mycroft 2003-09-30 22:06:04 +00:00
parent b4ee83fcce
commit 29bdde82d4
2 changed files with 15 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.4 2003/09/30 22:03:40 mycroft Exp $
$NetBSD: distinfo,v 1.5 2003/09/30 22:06: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

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.1 2003/09/30 22:06:04 mycroft Exp $
--- procview.c.orig 2001-02-15 00:57:30.000000000 +0000
+++ procview.c 2003-09-30 22:04:42.000000000 +0000
@@ -118,7 +118,7 @@
\
static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \
{ \
- return (*P)->d->sort_order * strcasecmp ((*P)->p-> ## NAME, (*Q)->p-> ## NAME); \
+ return (*P)->d->sort_order * strcasecmp ((*P)->p->NAME, (*Q)->p->NAME); \
}
#define SORT_ASC 1