Skip to content

Commit

Permalink
mpd: patch to support boost 1.81.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heitbaum committed Dec 20, 2022
1 parent d479071 commit af2657e
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/addons/service/mpd/patches/mpd-1682.patch
Original file line number Diff line number Diff line change
@@ -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?=
<[email protected]>
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(+)

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 <boost/intrusive/list.hpp>
#include <boost/intrusive/unordered_set.hpp>

+#include <array>
+#include <functional>
+#include <memory>
#include <string>
+#include <utility>

class RemoteTagCacheHandler;

0 comments on commit af2657e

Please sign in to comment.