diff options
author | pav <pav@FreeBSD.org> | 2004-07-30 07:53:43 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-07-30 07:53:43 +0800 |
commit | 8a95a4adffe48f3a938f2a151d3c579bb456420d (patch) | |
tree | 6588898131df77d240e1fa07eab7a36a5b7942af /comms/bforce-kst | |
parent | 862af368485a643957e62a6304719c623bc4e74e (diff) | |
download | freebsd-ports-gnome-8a95a4adffe48f3a938f2a151d3c579bb456420d.tar.gz freebsd-ports-gnome-8a95a4adffe48f3a938f2a151d3c579bb456420d.tar.zst freebsd-ports-gnome-8a95a4adffe48f3a938f2a151d3c579bb456420d.zip |
- Fix build with gcc-3.4
PR: ports/69773
Submitted by: Andrey Slusar <vasallia@ukr.net> (maintainer)
Diffstat (limited to 'comms/bforce-kst')
-rw-r--r-- | comms/bforce-kst/files/patch-prot_binkp.c | 20 | ||||
-rw-r--r-- | comms/bforce-kst/files/patch-prot_yoohoo.c | 11 | ||||
-rw-r--r-- | comms/bforce-kst/files/patch-prot_zmrecv.c | 30 | ||||
-rw-r--r-- | comms/bforce-kst/files/patch-prot_zmsend.c | 20 |
4 files changed, 81 insertions, 0 deletions
diff --git a/comms/bforce-kst/files/patch-prot_binkp.c b/comms/bforce-kst/files/patch-prot_binkp.c new file mode 100644 index 000000000000..32b060ba7c22 --- /dev/null +++ b/comms/bforce-kst/files/patch-prot_binkp.c @@ -0,0 +1,20 @@ +--- bforce/prot_binkp.c.orig Fri Aug 31 00:31:19 2001 ++++ bforce/prot_binkp.c Thu Jul 29 23:21:03 2004 +@@ -181,7 +181,7 @@ + break; + + default: +- /* Avoid warnings */ ++ break; + } + + /* +@@ -318,7 +318,7 @@ + break; + + default: +- /* Avoid warnings */ ++ break; + } + + /* diff --git a/comms/bforce-kst/files/patch-prot_yoohoo.c b/comms/bforce-kst/files/patch-prot_yoohoo.c new file mode 100644 index 000000000000..dd52438b84c6 --- /dev/null +++ b/comms/bforce-kst/files/patch-prot_yoohoo.c @@ -0,0 +1,11 @@ +--- bforce/prot_yoohoo.c.old Thu Jul 29 23:39:27 2004 ++++ bforce/prot_yoohoo.c Thu Jul 29 23:40:02 2004 +@@ -514,7 +514,7 @@ + case PROT_ZEDZAP: local_data->capabilities |= YOOHOO_ZEDZAP; break; + case PROT_JANUS: local_data->capabilities |= YOOHOO_JANUS; break; + case PROT_HYDRA: local_data->capabilities |= YOOHOO_HYDRA; break; +- default: /* Avoid warnings */ ++ default: break; + } + } + diff --git a/comms/bforce-kst/files/patch-prot_zmrecv.c b/comms/bforce-kst/files/patch-prot_zmrecv.c new file mode 100644 index 000000000000..6f95c0307a8e --- /dev/null +++ b/comms/bforce-kst/files/patch-prot_zmrecv.c @@ -0,0 +1,30 @@ +--- bforce/prot_zmrecv.c.old Thu Jul 29 23:29:04 2004 ++++ bforce/prot_zmrecv.c Thu Jul 29 23:32:23 2004 +@@ -243,7 +243,8 @@ + } + break; + +- default: /* Ignore */ ++ default: ++ break; + } /* end of switch(rxstate) */ + + +@@ -266,7 +267,7 @@ + switch(rxstate) { + case ZRX_INITACK: rxstate = ZRX_INIT; break; + case ZRX_RPOSACK: rxstate = ZRX_SENDRPOS; break; +- default: ++ default: break; + } + break; + +@@ -356,7 +357,7 @@ + switch(rxstate) { + case ZRX_INITACK: rxstate = ZRX_INIT; break; + case ZRX_RPOSACK: rxstate = ZRX_SENDRPOS; break; +- default: ++ default: break; + } + break; + diff --git a/comms/bforce-kst/files/patch-prot_zmsend.c b/comms/bforce-kst/files/patch-prot_zmsend.c new file mode 100644 index 000000000000..1ed7e3e1cf76 --- /dev/null +++ b/comms/bforce-kst/files/patch-prot_zmsend.c @@ -0,0 +1,20 @@ +--- bforce/prot_zmsend.c.old Thu Jul 29 23:35:04 2004 ++++ bforce/prot_zmsend.c Thu Jul 29 23:36:26 2004 +@@ -414,7 +414,7 @@ + case ZTX_CRCQACK: txstate = ZTX_STARTDATA; break; + case ZTX_EOFACK: txstate = ZTX_EOF; break; + case ZTX_FINACK: txstate = ZTX_FIN; break; +- default: ++ default: break; + } + break; + +@@ -634,7 +634,7 @@ + case ZTX_FINFOACK: txstate = ZTX_FINFO; break; + case ZTX_EOFACK: txstate = ZTX_EOF; break; + case ZTX_FINACK: txstate = ZTX_FIN; break; +- default: ++ default: break; + } + break; + |