diff options
author | tron <tron> | 2003-10-14 20:58:38 +0000 |
---|---|---|
committer | tron <tron> | 2003-10-14 20:58:38 +0000 |
commit | 32fd257466ef845b4ab32c3c827498fdbc737233 (patch) | |
tree | 2c96786ae07c676ebe988bf0d0e4ae667e0b089c /sysutils/gtop | |
parent | ffa693abd79f274165603f4a1a89f46270bab47b (diff) | |
download | pkgsrc-32fd257466ef845b4ab32c3c827498fdbc737233.tar.gz |
Fix GCC 3.3.1 related build problem.
Diffstat (limited to 'sysutils/gtop')
-rw-r--r-- | sysutils/gtop/distinfo | 4 | ||||
-rw-r--r-- | sysutils/gtop/patches/patch-ac | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/sysutils/gtop/distinfo b/sysutils/gtop/distinfo index 80026b6c834..628e5f6e5c1 100644 --- a/sysutils/gtop/distinfo +++ b/sysutils/gtop/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.6 2003/09/30 22:09:04 mycroft Exp $ +$NetBSD: distinfo,v 1.7 2003/10/14 20:58:38 tron 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) = 3e75988a836ac141dd393e83a059ea97c89ecac9 +SHA1 (patch-ac) = 6b3feaf723163a8edab0315e01cf5cd63cf4d258 diff --git a/sysutils/gtop/patches/patch-ac b/sysutils/gtop/patches/patch-ac index 188fcd1cc08..78448556c51 100644 --- a/sysutils/gtop/patches/patch-ac +++ b/sysutils/gtop/patches/patch-ac @@ -1,8 +1,8 @@ -$NetBSD: patch-ac,v 1.2 2003/09/30 22:09:04 mycroft Exp $ +$NetBSD: patch-ac,v 1.3 2003/10/14 20:58:38 tron Exp $ ---- procview.c.orig 2001-02-15 00:57:30.000000000 +0000 -+++ procview.c 2003-09-30 22:07:29.000000000 +0000 -@@ -96,14 +96,14 @@ +--- procview.c.orig 2001-02-15 01:57:30.000000000 +0100 ++++ procview.c 2003-10-14 22:56:08.000000000 +0200 +@@ -96,29 +96,29 @@ \ static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \ { \ @@ -19,7 +19,16 @@ $NetBSD: patch-ac,v 1.2 2003/09/30 22:09:04 mycroft Exp $ } #define CMP_INT2(NAME,V1,V2) \ -@@ -118,7 +118,7 @@ + \ + static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \ + { \ +- return (*P)->d->sort_order * ((*P)->p-> ## V1 + (*P)->p-> ## V2 - (\ +- (*Q)->p-> ## V1 + (*Q)->p-> ## V2)); \ ++ return (*P)->d->sort_order * ((*P)->p-> V1 + (*P)->p-> V2 - (\ ++ (*Q)->p-> V1 + (*Q)->p-> V2)); \ + } + + #define CMP_STR(NAME) \ \ static int cmp_ ## NAME (const ProcProcData **P, const ProcProcData **Q) \ { \ |