diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-06-29 19:39:54 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-29 19:47:30 -0700 |
| commit | b86476b4f9644053aa3e64521863231cb3cb0c82 (patch) | |
| tree | 8488aa2d62ccbd4a9820749afa85a62f01b0aa1b /meta-multimedia | |
| parent | 73d5cd5e8d9d8a922b6a8a9d90adf0470a99314e (diff) | |
| download | meta-openembedded-b86476b4f9644053aa3e64521863231cb3cb0c82.tar.gz | |
mpd: Update to 0.22.9
Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'meta-multimedia')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd/0001-include-utility-for-std-forward.patch | 43 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.9.bb (renamed from meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.6.bb) | 3 |
2 files changed, 45 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-include-utility-for-std-forward.patch b/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-include-utility-for-std-forward.patch new file mode 100644 index 0000000000..68ccb65835 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd/0001-include-utility-for-std-forward.patch | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | From 9bb962148672a3c20fb0119d7f71789b8ef3dc02 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 29 Jun 2021 19:31:34 -0700 | ||
| 4 | Subject: [PATCH] include <utility> for std::forward | ||
| 5 | |||
| 6 | Fixes | ||
| 7 | ../git/src/Log.hxx:121:42: error: no member named 'forward' in namespace 'std' | ||
| 8 | LogFormat(LogLevel::ERROR, e, fmt, std::forward<Args>(args)...); | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/MusicPlayerDaemon/MPD/pull/1201] | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | src/Log.hxx | 1 + | ||
| 14 | src/lib/expat/ExpatParser.hxx | 1 + | ||
| 15 | 2 files changed, 2 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/src/Log.hxx b/src/Log.hxx | ||
| 18 | index a295ed9f6..87097b086 100644 | ||
| 19 | --- a/src/Log.hxx | ||
| 20 | +++ b/src/Log.hxx | ||
| 21 | @@ -24,6 +24,7 @@ | ||
| 22 | #include "util/Compiler.h" | ||
| 23 | |||
| 24 | #include <exception> | ||
| 25 | +#include <utility> | ||
| 26 | |||
| 27 | class Domain; | ||
| 28 | |||
| 29 | diff --git a/src/lib/expat/ExpatParser.hxx b/src/lib/expat/ExpatParser.hxx | ||
| 30 | index e1723d109..4b5221e89 100644 | ||
| 31 | --- a/src/lib/expat/ExpatParser.hxx | ||
| 32 | +++ b/src/lib/expat/ExpatParser.hxx | ||
| 33 | @@ -25,6 +25,7 @@ | ||
| 34 | #include <expat.h> | ||
| 35 | |||
| 36 | #include <stdexcept> | ||
| 37 | +#include <utility> | ||
| 38 | |||
| 39 | class InputStream; | ||
| 40 | |||
| 41 | -- | ||
| 42 | 2.32.0 | ||
| 43 | |||
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.6.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.9.bb index b1fa96e1be..c112a40ce9 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.6.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.22.9.bb | |||
| @@ -19,9 +19,10 @@ DEPENDS += " \ | |||
| 19 | 19 | ||
| 20 | SRC_URI = " \ | 20 | SRC_URI = " \ |
| 21 | git://github.com/MusicPlayerDaemon/MPD;branch=v0.22.x \ | 21 | git://github.com/MusicPlayerDaemon/MPD;branch=v0.22.x \ |
| 22 | file://0001-include-utility-for-std-forward.patch \ | ||
| 22 | file://mpd.conf.in \ | 23 | file://mpd.conf.in \ |
| 23 | " | 24 | " |
| 24 | SRCREV = "938728820b11d4544a071994fe3c63c6ab710e8e" | 25 | SRCREV = "18628bf89ebfa5a806971479a71cf9b5764e500e" |
| 25 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
| 26 | 27 | ||
| 27 | EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}" | 28 | EXTRA_OEMESON += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-Dsystemd=enabled -Dsystemd_system_unit_dir=${systemd_system_unitdir} -Dsystemd_user_unit_dir=${systemd_system_unitdir}', '-Dsystemd=disabled', d)}" |
