From af2657e7c5563b9764d0afdf7ae6d699d51dd1f8 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 18 Dec 2022 02:31:30 +0000 Subject: [PATCH] mpd: patch to support boost 1.81.0 --- .../addons/service/mpd/patches/mpd-1682.patch | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/addons/service/mpd/patches/mpd-1682.patch diff --git a/packages/addons/service/mpd/patches/mpd-1682.patch b/packages/addons/service/mpd/patches/mpd-1682.patch new file mode 100644 index 00000000000..697cc7a13eb --- /dev/null +++ b/packages/addons/service/mpd/patches/mpd-1682.patch @@ -0,0 +1,32 @@ +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?= + +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. `` 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(+) + +diff --git a/src/RemoteTagCache.hxx b/src/RemoteTagCache.hxx +index ed87f9706f..e8b198a219 100644 +--- a/src/RemoteTagCache.hxx ++++ b/src/RemoteTagCache.hxx +@@ -28,7 +28,11 @@ + #include + #include + ++#include ++#include ++#include + #include ++#include + + class RemoteTagCacheHandler; +