pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/gtop Fix GCC 3.3.1 related build problem.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bc34704f4151
branches: trunk
changeset: 462822:bc34704f4151
user: tron <tron%pkgsrc.org@localhost>
date: Tue Oct 14 20:58:38 2003 +0000
description:
Fix GCC 3.3.1 related build problem.
diffstat:
sysutils/gtop/distinfo | 4 ++--
sysutils/gtop/patches/patch-ac | 19 ++++++++++++++-----
2 files changed, 16 insertions(+), 7 deletions(-)
diffs (47 lines):
diff -r 08dbb1122904 -r bc34704f4151 sysutils/gtop/distinfo
--- a/sysutils/gtop/distinfo Tue Oct 14 20:12:20 2003 +0000
+++ b/sysutils/gtop/distinfo Tue Oct 14 20:58:38 2003 +0000
@@ -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 -r 08dbb1122904 -r bc34704f4151 sysutils/gtop/patches/patch-ac
--- a/sysutils/gtop/patches/patch-ac Tue Oct 14 20:12:20 2003 +0000
+++ b/sysutils/gtop/patches/patch-ac Tue Oct 14 20:58:38 2003 +0000
@@ -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 @@
}
#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) \
{ \
Home |
Main Index |
Thread Index |
Old Index