Re: [gcc-archs/sparc64] Fix net/arping build
On Mon, Mar 16, 2020 at 08:48:50PM +0100, Jeremie Courreges-Anglas wrote: > On Mon, Mar 16 2020, Kurt Mosiejczuk wrote: > > arping needs c99 mode. Adding this to CFLAGS fixes the build on sparc64 > > (and presumably other base-gcc architectures). > > ok? > I'd prefer -std=gnu99. -std=gnuXX is the default for both clang and gcc. > > (cc maintainer) > done :) Sure thing. I just need to remember to grep for gnu99 next time I am looking for an example :) --Kurt
Re: [gcc-archs/sparc64] Fix net/arping build
On Mon, Mar 16 2020, Kurt Mosiejczuk wrote: > arping needs c99 mode. Adding this to CFLAGS fixes the build on sparc64 > (and presumably other base-gcc architectures). > > ok? I'd prefer -std=gnu99. -std=gnuXX is the default for both clang and gcc. > (cc maintainer) done :) > --Kurt > > Index: Makefile > === > RCS file: /cvs/ports/net/arping/Makefile,v > retrieving revision 1.50 > diff -u -p -r1.50 Makefile > --- Makefile 9 Mar 2020 07:58:08 - 1.50 > +++ Makefile 16 Mar 2020 16:31:46 - > @@ -19,6 +19,8 @@ MASTER_SITES = http://www.habets.pp.se/s > > LIB_DEPENDS =net/libnet/1.1 > > +CFLAGS +=-std=c99 > + > CONFIGURE_STYLE = gnu > CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libnet-1.1 \ > `libnet-config-1.1 --defines`" \ > -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
Re: [gcc-archs/sparc64] Fix net/arping build
OK kn
[gcc-archs/sparc64] Fix net/arping build
arping needs c99 mode. Adding this to CFLAGS fixes the build on sparc64 (and presumably other base-gcc architectures). ok? (cc maintainer) --Kurt Index: Makefile === RCS file: /cvs/ports/net/arping/Makefile,v retrieving revision 1.50 diff -u -p -r1.50 Makefile --- Makefile9 Mar 2020 07:58:08 - 1.50 +++ Makefile16 Mar 2020 16:31:46 - @@ -19,6 +19,8 @@ MASTER_SITES =http://www.habets.pp.se/s LIB_DEPENDS = net/libnet/1.1 +CFLAGS += -std=c99 + CONFIGURE_STYLE = gnu CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libnet-1.1 \ `libnet-config-1.1 --defines`" \