https://bugs.gentoo.org/955544 https://github.com/badaix/snapcast/commit/798e5cb142b90f19542a8bce897a4fe6460e5a10 From 798e5cb142b90f19542a8bce897a4fe6460e5a10 Mon Sep 17 00:00:00 2001 From: Tobias Hochwallner Date: Wed, 7 May 2025 22:42:07 +0200 Subject: [PATCH] Build failure with boost 1.88.0 #1367 fix compilation errors by including the deprecated boost process v1 APIs --- client/player/player.cpp | 6 +++++- server/streamreader/stream_control.hpp | 8 +++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/client/player/player.cpp b/client/player/player.cpp index c4b590c7..047a9ab1 100644 --- a/client/player/player.cpp +++ b/client/player/player.cpp @@ -27,7 +27,11 @@ // 3rd party headers #ifdef SUPPORTS_VOLUME_SCRIPT -#include +#define BOOST_PROCESS_VERSION 1 +#include +#include +#include +#include #endif // standard headers diff --git a/server/streamreader/stream_control.hpp b/server/streamreader/stream_control.hpp index 358d9708..5007f208 100644 --- a/server/streamreader/stream_control.hpp +++ b/server/streamreader/stream_control.hpp @@ -18,14 +18,16 @@ #pragma once - // local headers #include "jsonrpcpp.hpp" #include "server_settings.hpp" // 3rd party headers -#include -#include +#define BOOST_PROCESS_VERSION 1 +#include +#include +#include +#include // standard headers #include