On Sat, Feb 01, 2020 at 01:36:35PM +0100, Charlene Wendling wrote: > Hi,
> > http://build-failures.rhaalovely.net/sparc64/2020-01-29/productivity/homebank.log > Initial declarations in for loops require to explicitly use C99 with > base-gcc. > With the below diff it fixes the build on powerpc [0], and amd64 is > still fine. > Comments/feedback are welcome! > Charlène. Works fine on my sparc64 test machine ok kmos > [0] https://bin.charlenew.xyz/homebank.log > > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/productivity/homebank/Makefile,v > retrieving revision 1.43 > diff -u -p -u -p -r1.43 Makefile > --- Makefile 27 Jan 2020 07:16:14 -0000 1.43 > +++ Makefile 1 Feb 2020 12:31:08 -0000 > @@ -3,6 +3,7 @@ > COMMENT = personal accounting application > > DISTNAME = homebank-5.3.1 > +REVISION = 0 > > CATEGORIES = productivity x11 > > @@ -37,5 +38,8 @@ NO_TEST = Yes > CONFIGURE_STYLE = gnu > CONFIGURE_ENV = LDFLAGS="-L${LOCALBASE}/lib" \ > CPPFLAGS="-I${LOCALBASE}/include" > + > +# Initial declaration in for loops requires C99 with base-gcc > +CFLAGS += -std=gnu99 > > .include <bsd.port.mk> > > >