aboutsummaryrefslogtreecommitdiff
path: root/sound/mpd/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-11-27 17:13:32 -0800
committerRosen Penev <rosenp@gmail.com>2023-01-13 20:45:39 -0800
commit166be4078fc4d1ff64dcae0a8f938acc495d1fd1 (patch)
treea80437571adadd9cfcac79d7dcc87726ce570071 /sound/mpd/patches
parentbb300f0635414e031ee95a8dd508c05a103d3545 (diff)
mpd: update to 0.23.11
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'sound/mpd/patches')
-rw-r--r--sound/mpd/patches/010-gcc12.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/sound/mpd/patches/010-gcc12.patch b/sound/mpd/patches/010-gcc12.patch
new file mode 100644
index 000000000..a3b83b5d5
--- /dev/null
+++ b/sound/mpd/patches/010-gcc12.patch
@@ -0,0 +1,30 @@
+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.
+---
+ src/RemoteTagCache.hxx | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- 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;
+