diff options
author | arved <arved@FreeBSD.org> | 2004-08-17 11:44:15 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-17 11:44:15 +0000 |
commit | 5eb3fc278f016c751417de16e196af63fb9e39e0 (patch) | |
tree | 5e01d0ad17a7be5a3334d32b174e86f6ccf10667 /sysutils/slmon | |
parent | cf509dda458f7975d1cb3a0375d63f498bba0db4 (diff) | |
download | FreeBSD-ports-5eb3fc278f016c751417de16e196af63fb9e39e0.zip FreeBSD-ports-5eb3fc278f016c751417de16e196af63fb9e39e0.tar.gz |
Fix build on gcc3.4
Diffstat (limited to 'sysutils/slmon')
-rw-r--r-- | sysutils/slmon/files/patch-draw.c | 12 | ||||
-rw-r--r-- | sysutils/slmon/files/patch-rc.c | 34 | ||||
-rw-r--r-- | sysutils/slmon/files/patch-slmon.c | 18 |
3 files changed, 62 insertions, 2 deletions
diff --git a/sysutils/slmon/files/patch-draw.c b/sysutils/slmon/files/patch-draw.c index 1d8691f..c915367 100644 --- a/sysutils/slmon/files/patch-draw.c +++ b/sysutils/slmon/files/patch-draw.c @@ -1,5 +1,5 @@ ---- draw.c.orig Tue Nov 13 16:00:39 2001 -+++ draw.c Tue Nov 13 16:00:56 2001 +--- draw.c.orig Tue Oct 1 20:32:27 2002 ++++ draw.c Tue Aug 17 13:40:08 2004 @@ -26,6 +26,7 @@ #include <glibtop/netload.h> @@ -8,3 +8,11 @@ #include <netinet/in.h> /* +@@ -314,6 +315,7 @@ + SLsmg_write_string("SPC,ENTER: leave help"); + break; + default: ++ break; + } + } + diff --git a/sysutils/slmon/files/patch-rc.c b/sysutils/slmon/files/patch-rc.c new file mode 100644 index 0000000..5a2fabd --- /dev/null +++ b/sysutils/slmon/files/patch-rc.c @@ -0,0 +1,34 @@ +--- rc.c.orig Tue Aug 17 13:38:31 2004 ++++ rc.c Tue Aug 17 13:39:32 2004 +@@ -109,6 +109,7 @@ + mode = MODE_H; + break; + default: ++ break; + } + break; + case 'm': +@@ -139,6 +140,7 @@ + conf.fs = 2; + break; + default: ++ break; + } + break; + case 'n': +@@ -156,6 +158,7 @@ + conf.net = 3; + break; + default: ++ break; + } + break; + case 'v': +@@ -166,6 +169,7 @@ + update_time = (unsigned long) (atof(tmp + pos) * 1000000.0); + update_time -= (unsigned long) 10000; + default: ++ break; + } + free(key); + } diff --git a/sysutils/slmon/files/patch-slmon.c b/sysutils/slmon/files/patch-slmon.c new file mode 100644 index 0000000..9491c97 --- /dev/null +++ b/sysutils/slmon/files/patch-slmon.c @@ -0,0 +1,18 @@ +--- slmon.c.orig Tue Aug 17 13:40:46 2004 ++++ slmon.c Tue Aug 17 13:41:44 2004 +@@ -337,6 +337,7 @@ + conf.map = conf.map_x; + break; + default: ++ break; + } + } + +@@ -514,6 +515,7 @@ + conf.sort_func = slmon_cmp_user_asc; + break; + default: ++ break; + } + } + |