Another port with C99 constructs

This fixes the build on sparc64

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/security/aircrack-ng/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile    27 Dec 2020 18:13:18 -0000      1.33
+++ Makefile    15 Jan 2021 06:22:32 -0000
@@ -56,6 +56,10 @@ PKG_ARGS+=              -Darm=0
 MAKE_ENV+=              ALTIVEC=false POWER8=false
 .endif
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS +=      -std=gnu99
+.endif
 
 pre-configure:
        ${SUBST_CMD} ${WRKSRC}/src/airodump-ng.h

Reply via email to