commit: 2923b307574eb1056b26495f34ff8a8e4c81e3f9 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Aug 18 07:01:03 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Aug 18 07:02:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2923b307
media-video/mpv: backport build fix for ffmpeg-8 Closes: https://bugs.gentoo.org/961695 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> media-video/mpv/files/mpv-0.40.0-ffmpeg8.patch | 18 ++++++++++++++++++ media-video/mpv/mpv-0.40.0-r3.ebuild | 1 + 2 files changed, 19 insertions(+) diff --git a/media-video/mpv/files/mpv-0.40.0-ffmpeg8.patch b/media-video/mpv/files/mpv-0.40.0-ffmpeg8.patch new file mode 100644 index 000000000000..cf12df610ed5 --- /dev/null +++ b/media-video/mpv/files/mpv-0.40.0-ffmpeg8.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/961695 +https://github.com/mpv-player/mpv/commit/26b29fba02a +--- a/demux/demux_mkv.c ++++ b/demux/demux_mkv.c +@@ -2202,3 +2202,3 @@ + if (component_tag >= 0x30 && component_tag <= 0x37) +- lav->profile = FF_PROFILE_ARIB_PROFILE_A; ++ lav->profile = AV_PROFILE_ARIB_PROFILE_A; + break; +@@ -2208,6 +2208,6 @@ + if (component_tag == 0x87) +- lav->profile = FF_PROFILE_ARIB_PROFILE_C; ++ lav->profile = AV_PROFILE_ARIB_PROFILE_C; + break; + } +- if (lav->profile == FF_PROFILE_UNKNOWN) ++ if (lav->profile == AV_PROFILE_UNKNOWN) + MP_WARN(demuxer, "ARIB caption profile %02x / %04x not supported.\n", diff --git a/media-video/mpv/mpv-0.40.0-r3.ebuild b/media-video/mpv/mpv-0.40.0-r3.ebuild index d1d23d274ba2..ff3257a07432 100644 --- a/media-video/mpv/mpv-0.40.0-r3.ebuild +++ b/media-video/mpv/mpv-0.40.0-r3.ebuild @@ -126,6 +126,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-wayland-clipboard-cpu.patch + "${FILESDIR}"/${P}-ffmpeg8.patch ) pkg_pretend() {
