git: 8ac2ca4e8b7c - main - multimedia/pwcbsd: Fix build under 14-CURRENT poudriere

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Tue, 23 Aug 2022 13:09:44 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ac2ca4e8b7ca14bb5067b2ce31e83a790c82a2a

commit 8ac2ca4e8b7ca14bb5067b2ce31e83a790c82a2a
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-08-23 13:07:11 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-08-23 13:09:36 +0000

    multimedia/pwcbsd: Fix build under 14-CURRENT poudriere
    
    Fix the following:
    
    pwc-dec23.c:350:6: error: variable 'line_size' set but not used
    [-Werror,-Wunused-but-set-variable]
            int line_size;          /* size of the line (4Y+U+V) */
                ^
    pwc-dec23.c:608:17: error: variable 'pout' set but not used
    [-Werror,-Wunused-but-set-variable]
            unsigned char *pout, *pout_planar_y = NULL, *pout_planar_u =
                           ^
---
 multimedia/pwcbsd/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/multimedia/pwcbsd/Makefile b/multimedia/pwcbsd/Makefile
index d324d68492ce..91b8d08fcd4f 100644
--- a/multimedia/pwcbsd/Makefile
+++ b/multimedia/pwcbsd/Makefile
@@ -24,6 +24,8 @@ OPTIONS_DEFAULT=	PROGRAMS
 PROGRAMS_DESC=	Build the programs
 MMAP_DESC=	Enable mmap support (MAY CRASH YOUR SYSTEM)
 
+CFLAGS+=	-Wno-unused-but-set-variable
+
 .include <bsd.port.options.mk>
 
 .if !exists(${SRC_BASE}/sys/Makefile)