From 38c2bfe048a74419405c5b7926ee7964abfb24ca Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Sun, 5 Sep 2004 20:31:29 +0000 Subject: Fix build with gcc-3.4 Approved by: portmgr --- sysutils/xsysinfo/files/patch-sysinfo.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'sysutils') diff --git a/sysutils/xsysinfo/files/patch-sysinfo.c b/sysutils/xsysinfo/files/patch-sysinfo.c index 57e4d56cc592..2f43feef922a 100644 --- a/sysutils/xsysinfo/files/patch-sysinfo.c +++ b/sysutils/xsysinfo/files/patch-sysinfo.c @@ -1,5 +1,8 @@ ---- sysinfo.c.orig Tue Oct 6 22:21:18 1998 -+++ sysinfo.c Mon Oct 27 15:28:22 2003 + +$FreeBSD$ + +--- sysinfo.c.orig Tue Oct 6 16:21:18 1998 ++++ sysinfo.c Sun Sep 5 22:30:23 2004 @@ -13,7 +13,9 @@ #include /* XXX NTTYDISC is too well hidden */ #include @@ -151,6 +154,15 @@ } scale_bar(250, nfsStats.nfsClient-old_nfsStats.nfsClient, 25, states, 0); draw_bar(nfsflag-1, states, 10); +@@ -428,7 +497,7 @@ + } + nfs_out: + +-} ++;} + + + /* swapmode is derived from freebsd's pstat source ... @@ -438,6 +507,21 @@ void swapmode(int *used, int *avail) -- cgit v1.2.3