[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 89547824da6b29fa835a747c4e45de06ec6fae95 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 15 17:01:04 2026 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Feb 16 19:24:36 2026 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89547824 media-sound/snapcast: drop 0.31.0 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/snapcast/Manifest | 1 - .../files/snapcast-0.31.0-boost-1.88-fixup.patch | 257 - .../files/snapcast-0.31.0-boost-1.88.patch | 55 - .../snapcast/files/snapcast-0.31.0-drop-lint.patch | 12 - media-sound/snapcast/snapcast-0.31.0.ebuild| 85 --- 5 files changed, 410 deletions(-) diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest index 86960e37e41d..a688ca34006b 100644 --- a/media-sound/snapcast/Manifest +++ b/media-sound/snapcast/Manifest @@ -1,2 +1 @@ -DIST snapcast-0.31.0.tar.gz 1128037 BLAKE2B 82444e9fc75e82b5f57e3e115a8bfbde2a5839bc68e25db47df0f25675cf73a836f2e8b09afb077410bd3c36917abb17ce302c18b67b440567c55b673301e7f5 SHA512 9c3eef7a18aaf6479a96810aeb58d11cc87654021d8d07b29f9b623c70bd7fd9aa08f5dee430c11de72abafa1a1b5abe500b93eef4b17b7c56df55c2f2a29867 DIST snapcast-0.34.0.tar.gz 1173157 BLAKE2B e141c7fe264801ba598e09edad41cc543811e36ee51c02597dc180bd79370b6693aeaed919ce4c56749064f6034c26409c6aa7273a01b33fdc265315d501f76d SHA512 509c76432f71c1f08975740f7e633289254d157d2676f0c20d4a2578515e5ed5bb0036706df35fd2d4cba091881fc6c84d870c80e6cf7c6923392daf9c1cfbb1 diff --git a/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch b/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch deleted file mode 100644 index 36045c0e902a.. --- a/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch +++ /dev/null @@ -1,257 +0,0 @@ -https://github.com/badaix/snapcast/commit/0de502f565c6f26ab9ea4e18aa005ab3ebc6a01a -https://github.com/badaix/snapcast/commit/7c27acb3c7db28d8e74795ccb163b38efdf2625c -https://github.com/badaix/snapcast/commit/e617654e17aa09c28aad07822777b696298f92d0 - -From 0de502f565c6f26ab9ea4e18aa005ab3ebc6a01a Mon Sep 17 00:00:00 2001 -From: badaix -Date: Fri, 6 Jun 2025 14:01:26 +0200 -Subject: [PATCH] Define BOOST_PROCESS_VERSION=1 globally - - CMakeLists.txt | 3 ++- - client/player/player.cpp | 1 - - server/streamreader/stream_control.hpp | 4 ++-- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b35291f7..e6dccd2f 100644 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -332,7 +332,8 @@ else() - add_compile_definitions(HAS_TREMOR) - endif() - --add_compile_definitions(BOOST_ERROR_CODE_HEADER_ONLY BOOST_ASIO_NO_TS_EXECUTORS) -+add_compile_definitions(BOOST_ERROR_CODE_HEADER_ONLY BOOST_ASIO_NO_TS_EXECUTORS -+BOOST_PROCESS_VERSION=1) - - if(WIN32) - include(FindPackageHandleStandardArgs) -diff --git a/client/player/player.cpp b/client/player/player.cpp -index 047a9ab1..968cb723 100644 a/client/player/player.cpp -+++ b/client/player/player.cpp -@@ -27,7 +27,6 @@ - - // 3rd party headers - #ifdef SUPPORTS_VOLUME_SCRIPT --#define BOOST_PROCESS_VERSION 1 - #include - #include - #include -diff --git a/server/streamreader/stream_control.hpp b/server/streamreader/stream_control.hpp -index 5007f208..5cbc9217 100644 a/server/streamreader/stream_control.hpp -+++ b/server/streamreader/stream_control.hpp -@@ -23,8 +23,8 @@ - #include "server_settings.hpp" - - // 3rd party headers --#define BOOST_PROCESS_VERSION 1 --#include -+#include -+#include - #include - #include - #include - -From 7c27acb3c7db28d8e74795ccb163b38efdf2625c Mon Sep 17 00:00:00 2001 -From: badaix -Date: Fri, 6 Jun 2025 14:05:39 +0200 -Subject: [PATCH] Add missing includes - - server/snapserver.cpp | 1 + - server/stream_session_tcp.cpp | 2 ++ - server/streamreader/airplay_stream.hpp | 3 +-- - server/streamreader/file_stream.hpp| 5 - - server/streamreader/pcm_stream.hpp | 1 + - server/streamreader/pipe_stream.hpp| 6 +- - server/streamreader/process_stream.hpp | 5 + - 7 files changed, 19 insertions(+), 4 deletions(-) - -diff --git a/server/snapserver.cpp b/server/snapserver.cpp -index 3e51fb2d..454f3b5d 100644 a/server/snapserver.cpp -+++ b/server/snapserver.cpp -@@ -38,6 +38,7 @@ - - // 3rd party headers - #include -+#include - - // standard headers - #include -diff --git a/server/stream_session_tcp.cpp b/server/stream_session_tcp.cpp -index 0cc05f6a..e9bebfd5 100644 a/server/stream_session_tcp.cpp -+++ b/server/stream_session_tcp.cpp -@@ -23,6 +23,8 @@ - #include "common/aixlog.hpp" - - // 3rd party headers -+#include -+#include - - // standard headers - #include -diff --git a/server/streamreader/airplay_stream.hpp b/server/streamreader/airplay_stream.hpp -index 05ec2d4b..44c8
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 2f7d4cff62ac1c19fb590e19765afc979094e8b0
Author: Nicolas PARLANT parhuet fr>
AuthorDate: Tue Jan 20 06:45:23 2026 +
Commit: Joonas Niilola gentoo org>
CommitDate: Fri Jan 23 07:35:14 2026 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7d4cff
media-sound/snapcast: add 0.34.0
update github repo badaix->snapcast
add optional alsa, pipewire, soxr, ssl
boost is headers-only, add boost[context] for jack
unbundle dev-cpp/nlohmann_json
use vendored aixlog and popl, both are already used, single-file header,
up-to-date and from the author of snapcast
handle python plugins (python-single-r1 and optfeature)
use new initd with unprivileged user
use new confd w/o stream.source (-s) already defined in config-file
use systemd service provided by upstream
Closes: https://bugs.gentoo.org/959109
Closes: https://bugs.gentoo.org/969033
Signed-off-by: Nicolas PARLANT parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45458
Closes: https://github.com/gentoo/gentoo/pull/45458
Signed-off-by: Joonas Niilola gentoo.org>
media-sound/snapcast/Manifest | 1 +
.../snapcast/files/snapcast-0.34.0-drop-lint.patch | 13 ++
.../snapcast/files/snapcast-0.34.0-opt_soxr.patch | 19 +++
.../files/snapcast-0.34.0-snapclient_group.patch | 11 ++
media-sound/snapcast/files/snapclient.confd-r1 | 7 +
media-sound/snapcast/files/snapclient.initd-r1 | 14 ++
media-sound/snapcast/files/snapserver.confd-r1 | 5 +
media-sound/snapcast/files/snapserver.initd-r1 | 14 ++
media-sound/snapcast/metadata.xml | 6 +-
media-sound/snapcast/snapcast-0.34.0.ebuild| 151 +
10 files changed, 239 insertions(+), 2 deletions(-)
diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest
index fe5f1872dd63..86960e37e41d 100644
--- a/media-sound/snapcast/Manifest
+++ b/media-sound/snapcast/Manifest
@@ -1 +1,2 @@
DIST snapcast-0.31.0.tar.gz 1128037 BLAKE2B
82444e9fc75e82b5f57e3e115a8bfbde2a5839bc68e25db47df0f25675cf73a836f2e8b09afb077410bd3c36917abb17ce302c18b67b440567c55b673301e7f5
SHA512
9c3eef7a18aaf6479a96810aeb58d11cc87654021d8d07b29f9b623c70bd7fd9aa08f5dee430c11de72abafa1a1b5abe500b93eef4b17b7c56df55c2f2a29867
+DIST snapcast-0.34.0.tar.gz 1173157 BLAKE2B
e141c7fe264801ba598e09edad41cc543811e36ee51c02597dc180bd79370b6693aeaed919ce4c56749064f6034c26409c6aa7273a01b33fdc265315d501f76d
SHA512
509c76432f71c1f08975740f7e633289254d157d2676f0c20d4a2578515e5ed5bb0036706df35fd2d4cba091881fc6c84d870c80e6cf7c6923392daf9c1cfbb1
diff --git a/media-sound/snapcast/files/snapcast-0.34.0-drop-lint.patch
b/media-sound/snapcast/files/snapcast-0.34.0-drop-lint.patch
new file mode 100644
index ..dd4939d45df7
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.34.0-drop-lint.patch
@@ -0,0 +1,13 @@
+We don't want any automagic lint probing.
+--- a/CMakeLists.txt
b/CMakeLists.txt
+@@ -98,9 +98,6 @@ else()
+ endif()
+
+ include(GNUInstallDirs)
+-include(${CMAKE_SOURCE_DIR}/cmake/clang-tidy.cmake)
+-include(${CMAKE_SOURCE_DIR}/cmake/cppcheck.cmake)
+-include(${CMAKE_SOURCE_DIR}/cmake/reformat.cmake)
+
+ if(NOT WIN32)
+ option(BUILD_SERVER "Build Snapserver" ON) # no Windows server for now
diff --git a/media-sound/snapcast/files/snapcast-0.34.0-opt_soxr.patch
b/media-sound/snapcast/files/snapcast-0.34.0-opt_soxr.patch
new file mode 100644
index ..31e919bac048
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.34.0-opt_soxr.patch
@@ -0,0 +1,19 @@
+avoid automagic for soxr
+--- a/CMakeLists.txt
b/CMakeLists.txt
+@@ -256,12 +256,10 @@ if(NOT WIN32 AND NOT ANDROID)
+ endif()
+ endif()
+
+- pkg_search_module(SOXR soxr)
+- if(SOXR_FOUND)
++ if(BUILD_WITH_SOXR)
++pkg_search_module(SOXR REQUIRED soxr)
+ add_compile_definitions(HAS_SOXR)
+- else()
+-message(STATUS "soxr not found")
+- endif(SOXR_FOUND)
++ endif()
+
+ if(BUILD_WITH_FLAC)
+ pkg_search_module(FLAC REQUIRED flac)
diff --git a/media-sound/snapcast/files/snapcast-0.34.0-snapclient_group.patch
b/media-sound/snapcast/files/snapcast-0.34.0-snapclient_group.patch
new file mode 100644
index ..7648602e7890
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.34.0-snapclient_group.patch
@@ -0,0 +1,11 @@
+--- a/extras/package/rpm/snapclient.service
b/extras/package/rpm/snapclient.service
+@@ -8,7 +8,7 @@ After=network-online.target time-sync.target sound.target
avahi-daemon.service
+ EnvironmentFile=-/etc/default/snapclient
+ ExecStart=/usr/bin/snapclient --logsink=system $SNAPCLIENT_OPTS
+ User=snapclient
+-Group=snapclient
++Group=audio
+ Restart=on-failure
+
+ [Install]
diff --git a/media-sound/snapcast/files/snapclient.confd-r1
b/media-sound/snapcast/files/snapclient.confd-r1
new file mode 100644
index ..fe254b70d88e
--- /dev/null
+++ b/media-sound/snapcast/files/snapclient.confd-r1
@@ -0,0 +1,7 @@
+# conf.d file for snapclient
+SNA
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 55337fbf44a9865329e026a0d33a2f8225e3fcd6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jul 5 12:34:09 2025 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jul 5 17:51:50 2025 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55337fbf media-sound/snapcast: drop 0.29.0 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/snapcast/Manifest | 1 - ...snapcast-0.29.0-boost-1.87.0-make_address.patch | 96 -- .../files/snapcast-0.29.0-boost-1.87.0.patch | 51 .../files/snapcast-0.29.0-resampler-include.patch | 25 -- media-sound/snapcast/snapcast-0.29.0.ebuild| 77 - 5 files changed, 250 deletions(-) diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest index 4178334264a9..fe5f1872dd63 100644 --- a/media-sound/snapcast/Manifest +++ b/media-sound/snapcast/Manifest @@ -1,2 +1 @@ -DIST snapcast-0.29.0.tar.gz 1202943 BLAKE2B 0fb3c4b54dfd5fb16f7a17134a03288390c6d1b06c2c93bd7b495f0ff2f650d6caffab8b369703f38ca5764038470c3066794955259d419ea7ac4eff41e177d5 SHA512 4c88c20514e81f0ec861716a81047cb441669c0c23821acd959938cf00d85c37eec28a689a3c192f78fcb21accdbd6ef4520ef3f9995ff48ff07cb33e00b6904 DIST snapcast-0.31.0.tar.gz 1128037 BLAKE2B 82444e9fc75e82b5f57e3e115a8bfbde2a5839bc68e25db47df0f25675cf73a836f2e8b09afb077410bd3c36917abb17ce302c18b67b440567c55b673301e7f5 SHA512 9c3eef7a18aaf6479a96810aeb58d11cc87654021d8d07b29f9b623c70bd7fd9aa08f5dee430c11de72abafa1a1b5abe500b93eef4b17b7c56df55c2f2a29867 diff --git a/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch b/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch deleted file mode 100644 index 03190a4e20e3.. --- a/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch +++ /dev/null @@ -1,96 +0,0 @@ -https://github.com/badaix/snapcast/commit/b2fd2bf9ef835104a813c40c190d71e3644125d7 - -From b2fd2bf9ef835104a813c40c190d71e3644125d7 Mon Sep 17 00:00:00 2001 -From: Rudi Heitbaum -Date: Thu, 19 Dec 2024 02:23:11 +1100 -Subject: [PATCH] use make_address from boost as from_string is deprecated - (#1308) - -Since boost 1.87.0 boost::asio::ip::address::from_string is no longer available - -ref: https://github.com/boostorg/asio/commit/c0d1cfce7767599c4cf00df36f8017a1073339ae - -fixes: -../server/control_server.cpp: In member function 'void ControlServer::start()': -../server/control_server.cpp:164:111: error: 'from_string' is not a member of 'boost::asio::ip::address' - 164 | tcp::endpoint(boost::asio::ip::address::from_string(address), tcp_settings_.port))); - | ^~~ -../server/control_server.cpp:180:112: error: 'from_string' is not a member of 'boost::asio::ip::address' - 180 | tcp::endpoint(boost::asio::ip::address::from_string(address), http_settings_.port))); - | ^~~ -../server/streamreader/tcp_stream.cpp: In constructor 'streamreader::TcpStream::TcpStream(streamreader::PcmStream::Listener*, boost::asio::io_context&, const ServerSettings&, const streamreader::StreamUri&)': -../server/streamreader/tcp_stream.cpp:67:97: error: 'from_string' is not a member of 'boost::asio::ip::address' - 67 | acceptor_ = make_unique(strand_, tcp::endpoint(boost::asio::ip::address::from_string(host_), port_)); - | ^~~ -../server/streamreader/tcp_stream.cpp: In member function 'virtual void streamreader::TcpStream::connect()': -../server/streamreader/tcp_stream.cpp:96:75: error: 'from_string' is not a member of 'boost::asio::ip::address' - 96 | boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::address::from_string(host_), port_); - | ^~~ -../server/stream_server.cpp: In member function 'void StreamServer::start()': -../server/stream_server.cpp:234:103: error: 'from_string' is not a member of 'boost::asio::ip::address' - 234 | tcp::endpoint(boost::asio::ip::address::from_string(address), settings_.stream.port))); - | - server/control_server.cpp | 4 ++-- - server/stream_server.cpp | 2 +- - server/streamreader/tcp_stream.cpp | 4 ++-- - 3 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/server/control_server.cpp b/server/co
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: de802852dbe96512aee08052e50f5e907b5674cc
Author: Sam James gentoo org>
AuthorDate: Sun Jun 8 06:34:58 2025 +
Commit: Sam James gentoo org>
CommitDate: Sun Jun 8 06:35:11 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de802852
media-sound/snapcast: fix build w/ older boost
Closes: https://bugs.gentoo.org/957551
Signed-off-by: Sam James gentoo.org>
.../files/snapcast-0.31.0-boost-1.88-fixup.patch | 257 +
.../files/snapcast-0.31.0-boost-1.88.patch | 9 +-
media-sound/snapcast/snapcast-0.31.0.ebuild| 1 +
3 files changed, 262 insertions(+), 5 deletions(-)
diff --git a/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch
b/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch
new file mode 100644
index ..36045c0e902a
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.31.0-boost-1.88-fixup.patch
@@ -0,0 +1,257 @@
+https://github.com/badaix/snapcast/commit/0de502f565c6f26ab9ea4e18aa005ab3ebc6a01a
+https://github.com/badaix/snapcast/commit/7c27acb3c7db28d8e74795ccb163b38efdf2625c
+https://github.com/badaix/snapcast/commit/e617654e17aa09c28aad07822777b696298f92d0
+
+From 0de502f565c6f26ab9ea4e18aa005ab3ebc6a01a Mon Sep 17 00:00:00 2001
+From: badaix
+Date: Fri, 6 Jun 2025 14:01:26 +0200
+Subject: [PATCH] Define BOOST_PROCESS_VERSION=1 globally
+
+---
+ CMakeLists.txt | 3 ++-
+ client/player/player.cpp | 1 -
+ server/streamreader/stream_control.hpp | 4 ++--
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b35291f7..e6dccd2f 100644
+--- a/CMakeLists.txt
b/CMakeLists.txt
+@@ -332,7 +332,8 @@ else()
+ add_compile_definitions(HAS_TREMOR)
+ endif()
+
+-add_compile_definitions(BOOST_ERROR_CODE_HEADER_ONLY
BOOST_ASIO_NO_TS_EXECUTORS)
++add_compile_definitions(BOOST_ERROR_CODE_HEADER_ONLY
BOOST_ASIO_NO_TS_EXECUTORS
++BOOST_PROCESS_VERSION=1)
+
+ if(WIN32)
+ include(FindPackageHandleStandardArgs)
+diff --git a/client/player/player.cpp b/client/player/player.cpp
+index 047a9ab1..968cb723 100644
+--- a/client/player/player.cpp
b/client/player/player.cpp
+@@ -27,7 +27,6 @@
+
+ // 3rd party headers
+ #ifdef SUPPORTS_VOLUME_SCRIPT
+-#define BOOST_PROCESS_VERSION 1
+ #include
+ #include
+ #include
+diff --git a/server/streamreader/stream_control.hpp
b/server/streamreader/stream_control.hpp
+index 5007f208..5cbc9217 100644
+--- a/server/streamreader/stream_control.hpp
b/server/streamreader/stream_control.hpp
+@@ -23,8 +23,8 @@
+ #include "server_settings.hpp"
+
+ // 3rd party headers
+-#define BOOST_PROCESS_VERSION 1
+-#include
++#include
++#include
+ #include
+ #include
+ #include
+
+From 7c27acb3c7db28d8e74795ccb163b38efdf2625c Mon Sep 17 00:00:00 2001
+From: badaix
+Date: Fri, 6 Jun 2025 14:05:39 +0200
+Subject: [PATCH] Add missing includes
+
+---
+ server/snapserver.cpp | 1 +
+ server/stream_session_tcp.cpp | 2 ++
+ server/streamreader/airplay_stream.hpp | 3 +--
+ server/streamreader/file_stream.hpp| 5 -
+ server/streamreader/pcm_stream.hpp | 1 +
+ server/streamreader/pipe_stream.hpp| 6 +-
+ server/streamreader/process_stream.hpp | 5 +
+ 7 files changed, 19 insertions(+), 4 deletions(-)
+
+diff --git a/server/snapserver.cpp b/server/snapserver.cpp
+index 3e51fb2d..454f3b5d 100644
+--- a/server/snapserver.cpp
b/server/snapserver.cpp
+@@ -38,6 +38,7 @@
+
+ // 3rd party headers
+ #include
++#include
+
+ // standard headers
+ #include
+diff --git a/server/stream_session_tcp.cpp b/server/stream_session_tcp.cpp
+index 0cc05f6a..e9bebfd5 100644
+--- a/server/stream_session_tcp.cpp
b/server/stream_session_tcp.cpp
+@@ -23,6 +23,8 @@
+ #include "common/aixlog.hpp"
+
+ // 3rd party headers
++#include
++#include
+
+ // standard headers
+ #include
+diff --git a/server/streamreader/airplay_stream.hpp
b/server/streamreader/airplay_stream.hpp
+index 05ec2d4b..44c89752 100644
+--- a/server/streamreader/airplay_stream.hpp
b/server/streamreader/airplay_stream.hpp
+@@ -23,6 +23,7 @@
+ #include "process_stream.hpp"
+
+ // 3rd party headers
++#include
+ // Expat is used in metadata parsing from Shairport-sync.
+ // Without HAS_EXPAT defined no parsing will occur.
+ #ifdef HAS_EXPAT
+@@ -42,8 +43,6 @@ struct TageEntry
+ int length{0};///< length
+ };
+
+-/// Starts shairport-sync and reads PCM data from stdout
+-
+ /**
+ * Starts shairport-sync, reads PCM data from stdout, and passes the data to
an encoder.
+ * Implements EncoderListener to get the encoded data.
+diff --git a/server/streamreader/file_stream.hpp
b/server/streamreader/file_stream.hpp
+index 243fceb8..5d1641fd 100644
+--- a/server/streamreader/file_stream.hpp
b/server/streamreader/file_stream.hpp
+@@ -1,6 +1,6 @@
+ /***
+ This file is part of snapcast
+-Copyright (C) 2014-2024
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 6de0f0237f51c211641938d83bc98abe8e974728
Author: Petr Vaněk gentoo org>
AuthorDate: Thu May 15 12:18:46 2025 +
Commit: Petr Vaněk gentoo org>
CommitDate: Thu May 15 12:21:53 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de0f023
media-sound/snapcast: drop 0.27.0
Signed-off-by: Petr Vaněk gentoo.org>
media-sound/snapcast/Manifest | 1 -
.../snapcast/files/snapcast-0.27.0-gcc13.patch | 26
media-sound/snapcast/snapcast-0.27.0.ebuild| 73 --
3 files changed, 100 deletions(-)
diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest
index a29f654f440f..4178334264a9 100644
--- a/media-sound/snapcast/Manifest
+++ b/media-sound/snapcast/Manifest
@@ -1,3 +1,2 @@
-DIST snapcast-0.27.0.tar.gz 1566337 BLAKE2B
77183cd2496beaf6808f8c1ff030cdb1e483c86ebafd57d0c75daa2dfe31030f0dd9704db40e2c0780b85c2b346e121ccd16c1cb75dea1f80e9834d3ae100fb8
SHA512
fd86f5b0d38bf308eb9cc1f3024676471176355a8cc91ee8c8d2dfe1aa0cde99fc7636133071b50304fe66ea42dee996e0088e013be7fa703f21c5bc2a35cfdd
DIST snapcast-0.29.0.tar.gz 1202943 BLAKE2B
0fb3c4b54dfd5fb16f7a17134a03288390c6d1b06c2c93bd7b495f0ff2f650d6caffab8b369703f38ca5764038470c3066794955259d419ea7ac4eff41e177d5
SHA512
4c88c20514e81f0ec861716a81047cb441669c0c23821acd959938cf00d85c37eec28a689a3c192f78fcb21accdbd6ef4520ef3f9995ff48ff07cb33e00b6904
DIST snapcast-0.31.0.tar.gz 1128037 BLAKE2B
82444e9fc75e82b5f57e3e115a8bfbde2a5839bc68e25db47df0f25675cf73a836f2e8b09afb077410bd3c36917abb17ce302c18b67b440567c55b673301e7f5
SHA512
9c3eef7a18aaf6479a96810aeb58d11cc87654021d8d07b29f9b623c70bd7fd9aa08f5dee430c11de72abafa1a1b5abe500b93eef4b17b7c56df55c2f2a29867
diff --git a/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
b/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
deleted file mode 100644
index 5378874e6dd3..
--- a/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://github.com/badaix/snapcast/pull/1124
-
-From 73c75ccb8eb20aa1514e8c86deb859e70bc63290 Mon Sep 17 00:00:00 2001
-From: Sam James
-Date: Sat, 15 Apr 2023 10:20:47 +0100
-Subject: [PATCH] Fix build with GCC 13
-
-GCC 13 (as usual for new compiler releases) shuffles around some internal
includes so some
-are no longer transitively included.
-
-See https://gnu.org/software/gcc/gcc-13/porting_to.html.
-
-Bug: https://bugs.gentoo.org/894742
a/common/sample_format.hpp
-+++ b/common/sample_format.hpp
-@@ -19,6 +19,7 @@
- #ifndef SAMPLE_FORMAT_H
- #define SAMPLE_FORMAT_H
-
-+#include
- #include
-
-
---
-2.40.0
-
diff --git a/media-sound/snapcast/snapcast-0.27.0.ebuild
b/media-sound/snapcast/snapcast-0.27.0.ebuild
deleted file mode 100644
index 80e1997b38e9..
--- a/media-sound/snapcast/snapcast-0.27.0.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Synchronous multi-room audio player"
-HOMEPAGE="https://github.com/badaix/snapcast";
-SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 ~riscv x86"
-IUSE="+client +expat +flac +opus +server tremor +vorbis +zeroconf"
-REQUIRED_USE="|| ( server client )"
-
-RDEPEND="
- dev-libs/boost:=
- media-libs/alsa-lib
- client? ( acct-user/snapclient )
- expat? ( dev-libs/expat )
- flac? ( media-libs/flac:= )
- opus? ( media-libs/opus )
- server? (
- acct-group/snapserver
- acct-user/snapserver
- )
- tremor? ( media-libs/tremor )
- vorbis? ( media-libs/libvorbis )
- zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="
- ${RDEPEND}
- >=dev-cpp/aixlog-1.2.1
- >=dev-cpp/asio-1.12.1
- >=dev-cpp/popl-1.2.0
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.27.0-gcc13.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT=$(usex client)
- -DBUILD_WITH_EXPAT=$(usex expat)
- -DBUILD_WITH_FLAC=$(usex flac)
- -DBUILD_WITH_OPUS=$(usex opus)
- -DBUILD_SERVER=$(usex server)
- -DBUILD_STATIC_LIBS=no
- -DBUILD_TESTS=no
- -DBUILD_WITH_TREMOR=$(usex tremor)
- -DBUILD_WITH_VORBIS=$(usex vorbis)
- -DBUILD_WITH_AVAHI=$(usex zeroconf)
- -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- for bin in server client ; do
- if use ${bin} ; then
- doman "${bin}/snap${bin}.1"
-
- newconfd "${FILESDIR}/snap${bin}.confd" "snap${bin}"
- newinitd "${FILESDIR}/snap${bin}.initd" "snap${bin}"
- fi
- done
-}
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 34c40880d91fb64e933819d028872048ba353ba8 Author: Sam James gentoo org> AuthorDate: Thu Dec 26 07:07:34 2024 + Commit: Sam James gentoo org> CommitDate: Thu Dec 26 07:08:57 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34c40880 media-sound/snapcast: add 0.29.0 * Include post-tag patches for Boost 1.87 compat * Add USE=jack Closes: https://bugs.gentoo.org/946236 Closes: https://bugs.gentoo.org/946459 Signed-off-by: Sam James gentoo.org> media-sound/snapcast/Manifest | 1 + ...snapcast-0.29.0-boost-1.87.0-make_address.patch | 96 ++ .../files/snapcast-0.29.0-boost-1.87.0.patch | 51 .../files/snapcast-0.29.0-resampler-include.patch | 25 ++ media-sound/snapcast/snapcast-0.29.0.ebuild| 77 + 5 files changed, 250 insertions(+) diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest index d45a494a4445..743fc6bffc9f 100644 --- a/media-sound/snapcast/Manifest +++ b/media-sound/snapcast/Manifest @@ -1 +1,2 @@ DIST snapcast-0.27.0.tar.gz 1566337 BLAKE2B 77183cd2496beaf6808f8c1ff030cdb1e483c86ebafd57d0c75daa2dfe31030f0dd9704db40e2c0780b85c2b346e121ccd16c1cb75dea1f80e9834d3ae100fb8 SHA512 fd86f5b0d38bf308eb9cc1f3024676471176355a8cc91ee8c8d2dfe1aa0cde99fc7636133071b50304fe66ea42dee996e0088e013be7fa703f21c5bc2a35cfdd +DIST snapcast-0.29.0.tar.gz 1202943 BLAKE2B 0fb3c4b54dfd5fb16f7a17134a03288390c6d1b06c2c93bd7b495f0ff2f650d6caffab8b369703f38ca5764038470c3066794955259d419ea7ac4eff41e177d5 SHA512 4c88c20514e81f0ec861716a81047cb441669c0c23821acd959938cf00d85c37eec28a689a3c192f78fcb21accdbd6ef4520ef3f9995ff48ff07cb33e00b6904 diff --git a/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch b/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch new file mode 100644 index ..03190a4e20e3 --- /dev/null +++ b/media-sound/snapcast/files/snapcast-0.29.0-boost-1.87.0-make_address.patch @@ -0,0 +1,96 @@ +https://github.com/badaix/snapcast/commit/b2fd2bf9ef835104a813c40c190d71e3644125d7 + +From b2fd2bf9ef835104a813c40c190d71e3644125d7 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum +Date: Thu, 19 Dec 2024 02:23:11 +1100 +Subject: [PATCH] use make_address from boost as from_string is deprecated + (#1308) + +Since boost 1.87.0 boost::asio::ip::address::from_string is no longer available + +ref: https://github.com/boostorg/asio/commit/c0d1cfce7767599c4cf00df36f8017a1073339ae + +fixes: +../server/control_server.cpp: In member function 'void ControlServer::start()': +../server/control_server.cpp:164:111: error: 'from_string' is not a member of 'boost::asio::ip::address' + 164 | tcp::endpoint(boost::asio::ip::address::from_string(address), tcp_settings_.port))); + | ^~~ +../server/control_server.cpp:180:112: error: 'from_string' is not a member of 'boost::asio::ip::address' + 180 | tcp::endpoint(boost::asio::ip::address::from_string(address), http_settings_.port))); + | ^~~ +../server/streamreader/tcp_stream.cpp: In constructor 'streamreader::TcpStream::TcpStream(streamreader::PcmStream::Listener*, boost::asio::io_context&, const ServerSettings&, const streamreader::StreamUri&)': +../server/streamreader/tcp_stream.cpp:67:97: error: 'from_string' is not a member of 'boost::asio::ip::address' + 67 | acceptor_ = make_unique(strand_, tcp::endpoint(boost::asio::ip::address::from_string(host_), port_)); + | ^~~ +../server/streamreader/tcp_stream.cpp: In member function 'virtual void streamreader::TcpStream::connect()': +../server/streamreader/tcp_stream.cpp:96:75: error: 'from_string' is not a member of 'boost::asio::ip::address' + 96 | boost::asio::ip::tcp::endpoint endpoint(boost::asio::ip::address::from_string(host_), port_); + | ^~~ +../server/stream_server.cpp: In member function 'void StreamServer::start()': +../server/stream_server.cpp:234:103: error: 'from_string' is not a member of 'boost::asio::ip::address' + 234 | tcp::endpoint(boost::asio::ip::address::from_string(address), settings_.stream.port))); + | +--- + server/control_server.cpp | 4 ++-- + server/stream_server.cpp | 2 +- + server/streamreader/tcp_stream.cpp | 4 ++-
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 646dce408a86412bc43f60aab1f1c6bed2253a04
Author: Jakov Smolić gentoo org>
AuthorDate: Mon Apr 3 07:30:40 2023 +
Commit: Jakov Smolić gentoo org>
CommitDate: Mon Apr 3 07:30:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646dce40
media-sound/snapcast: drop 0.26.0-r2
Signed-off-by: Jakov Smolić gentoo.org>
media-sound/snapcast/Manifest | 1 -
.../files/snapcast-0.26.0-boost-1.81.patch | 51 ---
media-sound/snapcast/snapcast-0.26.0-r2.ebuild | 73 --
3 files changed, 125 deletions(-)
diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest
index 4a3bb3e7997b..d45a494a4445 100644
--- a/media-sound/snapcast/Manifest
+++ b/media-sound/snapcast/Manifest
@@ -1,2 +1 @@
-DIST snapcast-0.26.0.tar.gz 1537036 BLAKE2B
f6ef4393f3601c749140a9505f57515582147aacf25072d9114491aafb108c202c3631142171858d2b8f914be8105bbd9c66054c6d36d0b4a443e5b9a642cf51
SHA512
fc7885e42a11794e33314544083251ffbb91a0cf160c6d4b854c56f57ffe9f38f75c7594478c9edabfe9076959938cd8de891dd456e66202692de664a75cde71
DIST snapcast-0.27.0.tar.gz 1566337 BLAKE2B
77183cd2496beaf6808f8c1ff030cdb1e483c86ebafd57d0c75daa2dfe31030f0dd9704db40e2c0780b85c2b346e121ccd16c1cb75dea1f80e9834d3ae100fb8
SHA512
fd86f5b0d38bf308eb9cc1f3024676471176355a8cc91ee8c8d2dfe1aa0cde99fc7636133071b50304fe66ea42dee996e0088e013be7fa703f21c5bc2a35cfdd
diff --git a/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
b/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
deleted file mode 100644
index d9d691060b42..
--- a/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-https://bugs.gentoo.org/886585
-https://github.com/badaix/snapcast/commit/853c3f622ff2262b56681ee04dd20b4266c72493
-https://github.com/badaix/snapcast/issues/1082
-
-From 853c3f622ff2262b56681ee04dd20b4266c72493 Mon Sep 17 00:00:00 2001
-From: Rudi Heitbaum
-Date: Wed, 21 Dec 2022 11:31:29 +
-Subject: [PATCH] server/control_session_http: update for boost 1.81.0
-
-Signed-off-by: Rudi Heitbaum
a/server/control_session_http.cpp
-+++ b/server/control_session_http.cpp
-@@ -127,8 +127,8 @@ boost::beast::string_view
mime_type(boost::beast::string_view path)
- std::string path_cat(boost::beast::string_view base,
boost::beast::string_view path)
- {
- if (base.empty())
--return path.to_string();
--std::string result = base.to_string();
-+return static_cast(path);
-+std::string result = static_cast(base);
- char constexpr path_separator = '/';
- if (result.back() == path_separator)
- result.resize(result.size() - 1);
-@@ -171,7 +171,7 @@ void
ControlSessionHttp::handle_request(http::request(why);
- res.prepare_payload();
- return res;
- };
-@@ -182,7 +182,7 @@ void
ControlSessionHttp::handle_request(http::request(target) + "'
was not found.";
- res.prepare_payload();
- return res;
- };
-@@ -204,7 +204,7 @@ void
ControlSessionHttp::handle_request(http::request(what)
+ "'";
- res.prepare_payload();
- return res;
- };
-
diff --git a/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
b/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
deleted file mode 100644
index ff1b0b44e885..
--- a/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-DESCRIPTION="Synchronous multi-room audio player"
-HOMEPAGE="https://github.com/badaix/snapcast";
-SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ppc64 ~riscv x86"
-IUSE="+client +expat +flac +opus +server tremor +vorbis +zeroconf"
-REQUIRED_USE="|| ( server client )"
-
-RDEPEND="
- dev-libs/boost:=
- media-libs/alsa-lib
- client? ( acct-user/snapclient )
- expat? ( dev-libs/expat )
- flac? ( media-libs/flac:= )
- opus? ( media-libs/opus )
- server? (
- acct-group/snapserver
- acct-user/snapserver
- )
- tremor? ( media-libs/tremor )
- vorbis? ( media-libs/libvorbis )
- zeroconf? ( net-dns/avahi[dbus] )
-"
-DEPEND="
- ${RDEPEND}
- >=dev-cpp/aixlog-1.2.1
- >=dev-cpp/asio-1.12.1
- >=dev-cpp/popl-1.2.0
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-boost-1.81.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- -DBUILD_CLIENT=$(usex client)
- -DBUILD_WITH_EXPAT=$(usex expat)
- -DBUILD_WITH_FLAC=$(usex flac)
- -DBUILD_WITH_OPUS=$(usex opus)
- -DBUILD_SERVER=$(usex server)
- -DBUILD_STATIC_LIBS=no
- -DBUILD_TESTS=no
- -DBUILD_WITH_TREMOR=$(usex tremor)
- -DBUILD_WITH_VORBIS
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 08c2a7b554707f11b129914ff64c78256a782ffd
Author: Sam James gentoo org>
AuthorDate: Thu Dec 29 23:23:18 2022 +
Commit: Sam James gentoo org>
CommitDate: Thu Dec 29 23:23:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c2a7b5
media-sound/snapcast: fix build w/ boost-1.81
Closes: https://bugs.gentoo.org/886585
Signed-off-by: Sam James gentoo.org>
.../files/snapcast-0.26.0-boost-1.81.patch | 51 +++
media-sound/snapcast/snapcast-0.26.0-r2.ebuild | 73 ++
2 files changed, 124 insertions(+)
diff --git a/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
b/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
new file mode 100644
index ..d9d691060b42
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.26.0-boost-1.81.patch
@@ -0,0 +1,51 @@
+https://bugs.gentoo.org/886585
+https://github.com/badaix/snapcast/commit/853c3f622ff2262b56681ee04dd20b4266c72493
+https://github.com/badaix/snapcast/issues/1082
+
+From 853c3f622ff2262b56681ee04dd20b4266c72493 Mon Sep 17 00:00:00 2001
+From: Rudi Heitbaum
+Date: Wed, 21 Dec 2022 11:31:29 +
+Subject: [PATCH] server/control_session_http: update for boost 1.81.0
+
+Signed-off-by: Rudi Heitbaum
+--- a/server/control_session_http.cpp
b/server/control_session_http.cpp
+@@ -127,8 +127,8 @@ boost::beast::string_view
mime_type(boost::beast::string_view path)
+ std::string path_cat(boost::beast::string_view base,
boost::beast::string_view path)
+ {
+ if (base.empty())
+-return path.to_string();
+-std::string result = base.to_string();
++return static_cast(path);
++std::string result = static_cast(base);
+ char constexpr path_separator = '/';
+ if (result.back() == path_separator)
+ result.resize(result.size() - 1);
+@@ -171,7 +171,7 @@ void
ControlSessionHttp::handle_request(http::request(why);
+ res.prepare_payload();
+ return res;
+ };
+@@ -182,7 +182,7 @@ void
ControlSessionHttp::handle_request(http::request(target) + "'
was not found.";
+ res.prepare_payload();
+ return res;
+ };
+@@ -204,7 +204,7 @@ void
ControlSessionHttp::handle_request(http::request(what)
+ "'";
+ res.prepare_payload();
+ return res;
+ };
+
diff --git a/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
b/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
new file mode 100644
index ..cd5cede0e1b4
--- /dev/null
+++ b/media-sound/snapcast/snapcast-0.26.0-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Synchronous multi-room audio player"
+HOMEPAGE="https://github.com/badaix/snapcast";
+SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+client +expat +flac +opus +server tremor +vorbis +zeroconf"
+REQUIRED_USE="|| ( server client )"
+
+RDEPEND="
+ dev-libs/boost:=
+ media-libs/alsa-lib
+ client? ( acct-user/snapclient )
+ expat? ( dev-libs/expat )
+ flac? ( media-libs/flac:= )
+ opus? ( media-libs/opus )
+ server? (
+ acct-group/snapserver
+ acct-user/snapserver
+ )
+ tremor? ( media-libs/tremor )
+ vorbis? ( media-libs/libvorbis )
+ zeroconf? ( net-dns/avahi[dbus] )
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-cpp/aixlog-1.2.1
+ >=dev-cpp/asio-1.12.1
+ >=dev-cpp/popl-1.2.0
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-boost-1.81.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_CLIENT=$(usex client)
+ -DBUILD_WITH_EXPAT=$(usex expat)
+ -DBUILD_WITH_FLAC=$(usex flac)
+ -DBUILD_WITH_OPUS=$(usex opus)
+ -DBUILD_SERVER=$(usex server)
+ -DBUILD_STATIC_LIBS=no
+ -DBUILD_TESTS=no
+ -DBUILD_WITH_TREMOR=$(usex tremor)
+ -DBUILD_WITH_VORBIS=$(usex vorbis)
+ -DBUILD_WITH_AVAHI=$(usex zeroconf)
+ -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ for bin in server client ; do
+ if use ${bin} ; then
+ doman "${bin}/snap${bin}.1"
+
+ newconfd "${FILESDIR}/snap${bin}.confd" "snap${bin}"
+ newinitd "${FILESDIR}/snap${bin}.initd" "snap${bin}"
+ fi
+ done
+}
[gentoo-commits] repo/gentoo:master commit in: media-sound/snapcast/files/, media-sound/snapcast/
commit: 87e3400916e51d3bcf26103ec35ad49d4cd867c3
Author: Jakov Smolic sartura hr>
AuthorDate: Thu Apr 29 11:01:13 2021 +
Commit: Michał Górny gentoo org>
CommitDate: Thu Apr 29 11:46:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e34009
media-sound/snapcast: Fix compilation with gcc-11
Closes: https://bugs.gentoo.org/786303
Signed-off-by: Jakov Smolic sartura.hr>
Signed-off-by: Michał Górny gentoo.org>
media-sound/snapcast/files/snapcast-0.20.0-gcc-11.patch | 11 +++
media-sound/snapcast/snapcast-0.20.0.ebuild | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/media-sound/snapcast/files/snapcast-0.20.0-gcc-11.patch
b/media-sound/snapcast/files/snapcast-0.20.0-gcc-11.patch
new file mode 100644
index 000..7ae562aaef0
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.20.0-gcc-11.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/786303
+--- a/common/message/message.hpp
b/common/message/message.hpp
+@@ -29,6 +29,7 @@
+ #include
+ #endif
+ #include
++#include
+
+ /*
+ template >
diff --git a/media-sound/snapcast/snapcast-0.20.0.ebuild
b/media-sound/snapcast/snapcast-0.20.0.ebuild
index 6228cd7ec66..8a3f6d75f94 100644
--- a/media-sound/snapcast/snapcast-0.20.0.ebuild
+++ b/media-sound/snapcast/snapcast-0.20.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,6 +41,8 @@ DEPEND="${RDEPEND}
>=dev-cpp/asio-1.12.1
>=dev-cpp/popl-1.2.0"
+PATCHES=( "${FILESDIR}"/${P}-gcc-11.patch )
+
src_configure() {
local mycmakeargs=(
-DBUILD_CLIENT=$(usex client)
