privoxy uses C99 constructs so base-gcc needs to be told that.
ok?
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/privoxy/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- Makefile 29 Nov 2020 19:08:14 -0000 1.38
+++ Makefile 9 Jan 2021 17:30:44 -0000
@@ -33,6 +33,11 @@ CONFIGURE_ARGS= --with-docbook=no \
CONFIGURE_ENV= CPPFLAGS="-Dunix -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS += -std=gnu99
+.endif
+
pre-configure:
@cd ${WRKDIST} && AUTOCONF_VERSION=${AUTOCONF_VERSION} autoheader