diff options
author | krion <krion@FreeBSD.org> | 2004-09-06 04:31:29 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-09-06 04:31:29 +0800 |
commit | 0e3e3969e24d4ae4219a5733f13f4ceab11113fc (patch) | |
tree | d26d14824c17be6b8acdc23bdce7b4f0879c0dc1 | |
parent | 04bc3af82754070d612fd57cfe2a12d80631ab36 (diff) | |
download | freebsd-ports-gnome-0e3e3969e24d4ae4219a5733f13f4ceab11113fc.tar.gz freebsd-ports-gnome-0e3e3969e24d4ae4219a5733f13f4ceab11113fc.tar.zst freebsd-ports-gnome-0e3e3969e24d4ae4219a5733f13f4ceab11113fc.zip |
Fix build with gcc-3.4
Approved by: portmgr
-rw-r--r-- | sysutils/xsysinfo/files/patch-sysinfo.c | 16 |
1 files changed, 14 insertions, 2 deletions
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 <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */ #include <sys/tty.h> @@ -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) |