aboutsummaryrefslogtreecommitdiffstats
path: root/comms/bforce
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-13 15:24:55 +0800
committerkrion <krion@FreeBSD.org>2004-08-13 15:24:55 +0800
commit593f1aaa5588201013e24137751acff405fc9c97 (patch)
tree53b18255d6d6de8d12b72eea3035268498f348c3 /comms/bforce
parent13d8572591ce3f6989705ea3f8423b302bab1d4b (diff)
downloadfreebsd-ports-graphics-593f1aaa5588201013e24137751acff405fc9c97.tar.gz
freebsd-ports-graphics-593f1aaa5588201013e24137751acff405fc9c97.tar.zst
freebsd-ports-graphics-593f1aaa5588201013e24137751acff405fc9c97.zip
Fix build with gcc-3.4
PR: ports/70394 Submitted by: maintainer
Diffstat (limited to 'comms/bforce')
-rw-r--r--comms/bforce/Makefile3
-rw-r--r--comms/bforce/files/patch-ab88
2 files changed, 90 insertions, 1 deletions
diff --git a/comms/bforce/Makefile b/comms/bforce/Makefile
index b8ce40f1db4..4b95e210582 100644
--- a/comms/bforce/Makefile
+++ b/comms/bforce/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bforce
PORTVERSION= 0.22.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= http://bforce.chbs.ru/
@@ -17,6 +17,7 @@ COMMENT= Simple ifcico like Fidonet technology mailer
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS} -fno-builtin"
WRKSRC= ${WRKDIR}/${DISTNAME}/source
diff --git a/comms/bforce/files/patch-ab b/comms/bforce/files/patch-ab
new file mode 100644
index 00000000000..35731bd49d9
--- /dev/null
+++ b/comms/bforce/files/patch-ab
@@ -0,0 +1,88 @@
+--- bforce/prot_binkp.c.orig Mon Mar 12 02:40:52 2001
++++ bforce/prot_binkp.c Fri Aug 13 12:06:26 2004
+@@ -181,6 +181,7 @@
+
+ default:
+ /* Avoid warnings */
++ break;
+ }
+
+ /*
+@@ -318,6 +319,7 @@
+
+ default:
+ /* Avoid warnings */
++ break;
+ }
+
+ /*
+--- bforce/prot_yoohoo.c.orig Mon Mar 12 02:40:53 2001
++++ bforce/prot_yoohoo.c Fri Aug 13 12:09:34 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; /* Avoid warnings */
+ }
+ }
+
+--- bforce/prot_zmrecv.c.orig Thu Feb 8 04:09:25 2001
++++ bforce/prot_zmrecv.c Fri Aug 13 12:08:47 2004
+@@ -244,6 +244,7 @@
+ break;
+
+ default: /* Ignore */
++ 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;
+
+--- bforce/prot_zmsend.c.orig Thu Feb 8 04:09:26 2001
++++ bforce/prot_zmsend.c Fri Aug 13 12:09:13 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;
+
+--- include/prot_zmodem.h.orig Sun Apr 23 00:05:16 2000
++++ include/prot_zmodem.h Fri Aug 13 12:07:18 2004
+@@ -201,7 +201,7 @@
+ extern char Z_Attn[ZATTNLEN+1]; /* Attention string rx sends to tx on err */
+ extern int Z_Ctlesc; /* Encode control characters */
+ extern int Z_Lastsent; /* Character we sent last */
+-//extern int Z_Dirzap; /* Direct ZedZap (don't escape XON/XOFF) */
++/*extern int Z_Dirzap;*/ /* Direct ZedZap (don't escape XON/XOFF) */
+
+ /* ------------------------------------------------------------------------- */
+ /* Z-Modem primitives (look p_zmmisc.c for them) */