diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 11:44:15 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-08-17 11:44:15 +0000 |
commit | d2a465f6726f2b64d54028a0f04783b64acc0973 (patch) | |
tree | db088a505dcc22679b10f25da6c01d4c797fcaa5 /sysutils/slmon | |
parent | Fix build with gcc 3.4 (diff) |
Fix build on gcc3.4
Notes
Notes:
svn path=/head/; revision=116506
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 1d8691f3bd16..c9153678bec0 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 000000000000..5a2fabd65407 --- /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 000000000000..9491c974d829 --- /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; + } + } + |