Re: git: c3c6816248fb - main - multimedia/pwcbsd: disable -Werror

From: Rene Ladan <rene_at_freebsd.org>
Date: Fri, 02 Sep 2022 15:04:53 UTC
On Thu, Sep 01, 2022 at 06:14:22PM +0000, Dmitry Marakasov wrote:
> The branch main has been updated by amdmi3:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=c3c6816248fb88b1ccba9a9a1fab546aa1de81cf
> 
> commit c3c6816248fb88b1ccba9a9a1fab546aa1de81cf
> Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> AuthorDate: 2022-09-01 13:15:12 +0000
> Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
> CommitDate: 2022-09-01 18:13:34 +0000
> 
>     multimedia/pwcbsd: disable -Werror
>     
>     This fixes build on 13.0

13.0 is end-of-life as of yesterday, did the original problem also happen on 12.3, 13.1, or 14 ?
> ---
>  multimedia/pwcbsd/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile
> index 91b8d08fcd4f..bf870da27134 100644
> --- a/multimedia/pwcbsd/Makefile
> +++ b/multimedia/pwcbsd/Makefile
> @@ -24,7 +24,7 @@ OPTIONS_DEFAULT=	PROGRAMS
>  PROGRAMS_DESC=	Build the programs
>  MMAP_DESC=	Enable mmap support (MAY CRASH YOUR SYSTEM)
>  
> -CFLAGS+=	-Wno-unused-but-set-variable
> +CFLAGS+=	-Wno-error
>  
>  .include <bsd.port.options.mk>
>  
René