On Mon, Mar 16 2020, Kurt Mosiejczuk <k...@cranky.work> 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 -0000       1.50
> +++ Makefile  16 Mar 2020 16:31:46 -0000
> @@ -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

Reply via email to