git: 2e016d720ad1 - main - audio/musicpd: unbreak build with ffmpeg 6.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Nov 2023 08:50:26 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e016d720ad1c45e86719a3b34497d0566774ad4 commit 2e016d720ad1c45e86719a3b34497d0566774ad4 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-11-17 08:38:19 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-11-17 08:48:55 +0000 audio/musicpd: unbreak build with ffmpeg 6.1 ../src/decoder/plugins/FfmpegIo.cxx:44:10: error: use of undeclared identifier 'AVERROR_EOF' return AVERROR_EOF; ^ Reported by: antoine (via bug 272575 exp-run) Suggested by: diizzy (via upstream) --- audio/musicpd/files/patch-src_decoder_plugins_FfmpegIo.cxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audio/musicpd/files/patch-src_decoder_plugins_FfmpegIo.cxx b/audio/musicpd/files/patch-src_decoder_plugins_FfmpegIo.cxx new file mode 100644 index 000000000000..a4217e44ce77 --- /dev/null +++ b/audio/musicpd/files/patch-src_decoder_plugins_FfmpegIo.cxx @@ -0,0 +1,12 @@ +https://github.com/MusicPlayerDaemon/MPD/issues/1898 + +--- src/decoder/plugins/FfmpegIo.cxx.orig 2023-10-08 08:11:05 UTC ++++ src/decoder/plugins/FfmpegIo.cxx +@@ -25,6 +25,7 @@ extern "C" { + #include "input/InputStream.hxx" + + extern "C" { ++#include <libavutil/error.h> + #include <libavutil/mem.h> + } +