On Fri, Dec 18, 2020 at 11:47:06AM -0500, Kurt Mosiejczuk wrote:
> libdvdread uses C99 constructs so base-gcc needs to be told that for
> the build to complete. The diff below does so just for base-gcc
> arches.
>
> ok?
>
> (cc maintainer)
>
> --Kurt
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/libdvdread/Makefile,v
> retrieving revision 1.32
> diff -u -p -r1.32 Makefile
> --- Makefile 15 Dec 2020 18:57:38 -0000 1.32
> +++ Makefile 18 Dec 2020 16:45:40 -0000
> @@ -25,4 +25,9 @@ LIB_DEPENDS = converters/libdvdcss>=1.4.
> CONFIGURE_STYLE = gnu
> CONFIGURE_ARGS =--disable-apidoc
>
> +.include <bsd.port.arch.mk>
> +.if !${PROPERTIES:Mclang}
> +CFLAGS += -std=gnu99
> +.endif
> +
> .include <bsd.port.mk>
>
Yep!