diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-11-17 08:38:19 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-11-17 08:48:55 +0000 |
commit | 2e016d720ad1c45e86719a3b34497d0566774ad4 (patch) | |
tree | 6279ca63cf3b6a519f1068ceccf0fafa5bbb12d7 | |
parent | 4472a1bd155d3b070f12bdd58fd4acc6b317c2e5 (diff) | |
download | ports-2e016d720ad1c45e86719a3b34497d0566774ad4.tar.gz ports-2e016d720ad1c45e86719a3b34497d0566774ad4.zip |
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)
-rw-r--r-- | audio/musicpd/files/patch-src_decoder_plugins_FfmpegIo.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
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> + } + |