diff options
author | Markus Volk <f_l_k@t-online.de> | 2023-11-20 18:47:25 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-11-20 09:57:23 -0800 |
commit | 1e086c487d4e68ec011479884de17d3503d64f76 (patch) | |
tree | af203c3485284821359050dee0218c03447e0893 /meta-multimedia | |
parent | b5ca85bbeb3629cad07ebffbee6a48e69645630b (diff) | |
download | meta-openembedded-1e086c487d4e68ec011479884de17d3503d64f76.tar.gz |
musicpd: unbreak build with ffmpeg 6.1
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd/0001-patch-src_decoder_plugins_FfmpegIo.cxx.patch | 26 | ||||
-rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-patch-src_decoder_plugins_FfmpegIo.cxx.patch b/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-patch-src_decoder_plugins_FfmpegIo.cxx.patch new file mode 100644 index 000000000..b2dea331e --- /dev/null +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-patch-src_decoder_plugins_FfmpegIo.cxx.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From e62fd0eefe8b475e70d87a673a7216aac3bb622f Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Mon, 20 Nov 2023 17:49:59 +0100 | ||
4 | Subject: [PATCH] patch src_decoder_plugins_FfmpegIo.cxx | ||
5 | |||
6 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
7 | Upstream-Status: Pending [https://github.com/MusicPlayerDaemon/MPD/issues/1898] | ||
8 | --- | ||
9 | src/decoder/plugins/FfmpegIo.cxx | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/src/decoder/plugins/FfmpegIo.cxx b/src/decoder/plugins/FfmpegIo.cxx | ||
13 | index 572f1a86a..3e2347fec 100644 | ||
14 | --- a/src/decoder/plugins/FfmpegIo.cxx | ||
15 | +++ b/src/decoder/plugins/FfmpegIo.cxx | ||
16 | @@ -25,6 +25,7 @@ | ||
17 | #include "input/InputStream.hxx" | ||
18 | |||
19 | extern "C" { | ||
20 | +#include <libavutil/error.h> | ||
21 | #include <libavutil/mem.h> | ||
22 | } | ||
23 | |||
24 | -- | ||
25 | 2.42.0 | ||
26 | |||
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb index 310b5f7c3..a762fc832 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.23.14.bb | |||
@@ -19,6 +19,7 @@ DEPENDS += " \ | |||
19 | " | 19 | " |
20 | 20 | ||
21 | SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=master;protocol=https \ | 21 | SRC_URI = "git://github.com/MusicPlayerDaemon/MPD;branch=master;protocol=https \ |
22 | file://0001-patch-src_decoder_plugins_FfmpegIo.cxx.patch \ | ||
22 | file://mpd.conf.in \ | 23 | file://mpd.conf.in \ |
23 | " | 24 | " |
24 | SRCREV = "feac1a3f56591ccfb00870aba66c9ac3abac4773" | 25 | SRCREV = "feac1a3f56591ccfb00870aba66c9ac3abac4773" |