git: 079fc510e51b - main - multimedia/mpv: Fix build with FFmpeg 8.0+

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sun, 31 Aug 2025 08:55:11 UTC
The branch main has been updated by diizzy:

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

commit 079fc510e51b098ea2e9d15e593f66a9b63e788a
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2025-08-31 08:52:26 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-08-31 08:54:41 +0000

    multimedia/mpv: Fix build with FFmpeg 8.0+
    
    Backport upstream commit 26b29fba02a2782f68e2906f837d21201fc6f1b9
    
    Reference: https://github.com/mpv-player/mpv/commit/26b29fba02a2782f68e2906f837d21201fc6f1b9
    
    PR:             289059
---
 multimedia/mpv/Makefile | 5 ++++-
 multimedia/mpv/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 8e10172157b4..4299cef229c5 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,10 +1,13 @@
 PORTNAME=	mpv
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.40.0
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 
+PATCH_SITES=	https://github.com/mpv-player/mpv/commit/
+PATCHFILES=	26b29fba02a2782f68e2906f837d21201fc6f1b9.patch:-p1
+
 MAINTAINER=	multimedia@FreeBSD.org
 COMMENT=	Free and open-source general-purpose video player
 WWW=		https://mpv.io
diff --git a/multimedia/mpv/distinfo b/multimedia/mpv/distinfo
index 614447cd682c..6b56c0e1e5dc 100644
--- a/multimedia/mpv/distinfo
+++ b/multimedia/mpv/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1742924007
+TIMESTAMP = 1756628590
 SHA256 (mpv-player-mpv-v0.40.0_GH0.tar.gz) = 10a0f4654f62140a6dd4d380dcf0bbdbdcf6e697556863dc499c296182f081a3
 SIZE (mpv-player-mpv-v0.40.0_GH0.tar.gz) = 3561474
+SHA256 (26b29fba02a2782f68e2906f837d21201fc6f1b9.patch) = 9596f2390a120a54d1bc48a3937d6f236feab0c4cecaae8a0d3dec59a38e29b3
+SIZE (26b29fba02a2782f68e2906f837d21201fc6f1b9.patch) = 1569