summaryrefslogtreecommitdiff
path: root/media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch')
-rw-r--r--media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch b/media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch
new file mode 100644
index 000000000000..e9515c632c7c
--- /dev/null
+++ b/media-sound/mpd/files/mpd-0.23.13-ffmpeg-6.1.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/918421
+https://github.com/MusicPlayerDaemon/MPD/issues/1898
+--- a/src/decoder/plugins/FfmpegIo.cxx
++++ b/src/decoder/plugins/FfmpegIo.cxx
+@@ -26,6 +26,9 @@
+
+ extern "C" {
+ #include <libavutil/mem.h>
++#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(58, 29, 100)
++#include <libavutil/error.h>
++#endif
+ }
+
+ AvioStream::~AvioStream()