Date: Fri, 13 Aug 2004 13:29:23 +0800 (NKZS) From: Vladimir Kurtukov <vk@vk.pp.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: krion@FreeBSD.org Subject: ports/70394: maintainer update for port comms/bforce Message-ID: <200408130529.i7D5TN5o087241@dss.kbb.ru> Resent-Message-ID: <200408130530.i7D5UL8X037123@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70394 >Category: ports >Synopsis: maintainer update for port comms/bforce >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 13 05:30:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Vladimir Kurtukov >Release: FreeBSD 4.10-STABLE i386 >Organization: AB KuznetskBusinessBank >Environment: new port tested on FreeBSD 4.10-STABLE #8: Wed Jul 7 14:57:48 NKZS 2004 and FreeBSD 5.2-CURRENT #7: Mon Aug 2 09:02:22 NKZS 2004 >Description: port doesn't compile on CURRENT with gcc 3.4.2 ... bforce/prot_binkp.c: In function `binkp_outgoing': bforce/prot_binkp.c:184: error: label at end of compound statement bforce/prot_binkp.c: In function `binkp_incoming': bforce/prot_binkp.c:321: error: label at end of compound statement ... >How-To-Repeat: try to compile comms/bforce on CURRENT with gcc 3.4.2 >Fix: diff -urN bforce.orig/Makefile bforce/Makefile --- bforce.orig/Makefile Wed Feb 4 12:18:56 2004 +++ bforce/Makefile Fri Aug 13 12:27:08 2004 @@ -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 @@ USE_BZIP2= yes USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CFLAGS="${CFLAGS} -fno-builtin" WRKSRC= ${WRKDIR}/${DISTNAME}/source diff -urN bforce.orig/files/patch-ab bforce/files/patch-ab --- bforce.orig/files/patch-ab Thu Jan 1 07:00:00 1970 +++ bforce/files/patch-ab Fri Aug 13 12:15:38 2004 @@ -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) */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408130529.i7D5TN5o087241>