git: e033b6d31ac9 - main - multimedia/guvcview: fix build with recent ffmpeg

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 19 Dec 2025 10:23:50 UTC
The branch main has been updated by bapt:

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

commit e033b6d31ac94cf158f8d8e54eaee66485326a7c
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-12-19 10:22:09 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-12-19 10:23:33 +0000

    multimedia/guvcview: fix build with recent ffmpeg
---
 multimedia/guvcview/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/multimedia/guvcview/Makefile b/multimedia/guvcview/Makefile
index 5c8d1726983e..17cab1ed38b8 100644
--- a/multimedia/guvcview/Makefile
+++ b/multimedia/guvcview/Makefile
@@ -36,4 +36,8 @@ PULSEAUDIO_BROKEN=	Doesn't show up as an audio backend at runtime
 PULSEAUDIO_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 PULSEAUDIO_CMAKE_BOOL=	USE_PULSE
 
+post-patch:
+	${REINPLACE_CMD} -e 's/FF_/AV_/g' \
+		${WRKDIR}/guvcview-src-2.2.1/gview_encoder/audio_codecs.c
+
 .include <bsd.port.mk>