MFH: r560767 by linimon

Add USE_CSTD=c99 to fix build on GCC-based systems:

  ../src/utils.c:74: error: 'for' loop initial declaration used outside C99 mode

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Jan Beich 2021-01-09 01:02:05 +00:00
parent 550ca863de
commit 5496413090
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=560828

View File

@ -17,6 +17,7 @@ LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libavcodec.so:multimedia/ffmpeg
USES= meson pkgconfig
USE_CSTD= c99
CPPFLAGS+= -D_WITH_GETLINE # XXX Remove after FreeBSD 11 EOL
PLIST_FILES= bin/${PORTNAME}