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
--- 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`" \

Reply via email to