toxic uses C99 constructs so base-gcc needs to be told that.

This fixes the build on sparc64

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/toxic/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    3 Jan 2021 19:36:09 -0000       1.9
+++ Makefile    10 Jan 2021 01:29:19 -0000
@@ -44,6 +44,11 @@ LIB_DEPENDS +=               devel/libnotify
 RUN_DEPENDS =          devel/desktop-file-utils
 .endif
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS +=      -std=gnu99
+.endif
+
 NO_TEST =              Yes
 
 pre-configure:

Reply via email to