summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-18 02:28:09 +0000
committerSam James <sam@gentoo.org>2022-12-18 02:32:52 +0000
commitf8242bade2bbe771e44880615f3c10cde7f27284 (patch)
tree77aaee776571c725ba33a29015c5266973b34d85 /media-sound/mpd/files
parentdev-libs/openssl: keyword 3.0.7-r2 for ~s390 (diff)
downloadgentoo-f8242bade2bbe771e44880615f3c10cde7f27284.tar.gz
gentoo-f8242bade2bbe771e44880615f3c10cde7f27284.tar.bz2
gentoo-f8242bade2bbe771e44880615f3c10cde7f27284.zip
media-sound/mpd: add 0.23.11
Closes: https://bugs.gentoo.org/886521 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/mpd/files')
-rw-r--r--media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch b/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch
new file mode 100644
index 000000000000..cb40b14926e2
--- /dev/null
+++ b/media-sound/mpd/files/mpd-0.23.11-boost-1.81.patch
@@ -0,0 +1,30 @@
+https://bugs.gentoo.org/886521
+https://github.com/MusicPlayerDaemon/MPD/issues/1693
+https://github.com/MusicPlayerDaemon/MPD/commit/e4b055eb6d08c5c8f8d85828ce4005d410e462cb
+
+From e4b055eb6d08c5c8f8d85828ce4005d410e462cb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
+ <congdanhqx@gmail.com>
+Date: Thu, 1 Dec 2022 08:29:23 +0700
+Subject: [PATCH] v0.23.x: RemoteTagCache: add missing include
+
+Fix build with Boost 1.81.0. `<array>` was included by one of those boost headers,
+however, it's no longer included as of Boost 1.81.0.
+
+`master` doesn't use `std::array` in this file.
+
+While we're at it, add all necessary inclusion files.
+--- a/src/RemoteTagCache.hxx
++++ b/src/RemoteTagCache.hxx
+@@ -28,7 +28,11 @@
+ #include <boost/intrusive/list.hpp>
+ #include <boost/intrusive/unordered_set.hpp>
+
++#include <array>
++#include <functional>
++#include <memory>
+ #include <string>
++#include <utility>
+
+ class RemoteTagCacheHandler;
+