head 1.2; access; symbols pkgsrc-2025Q3:1.1.0.22 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.20 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.18 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.16 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.14 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.12 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.10 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.8 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.6 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.4 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.2 pkgsrc-2023Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2025.09.30.06.49.37; author adam; state dead; branches; next 1.1; commitid Z4ngQRNvuPyUMHcG; 1.1 date 2023.01.30.10.41.57; author wiz; state Exp; branches; next ; commitid oYLIn2ukGGKQnybE; desc @@ 1.2 log @snapcast: updated to 0.33.0 0.33.0 Features Server: Add PipeWire stream reader Client: Add PipeWire player Server: process stream sources can be added via RPC Server: mDNS can be disabled Server: Audio streaming over plain TCP (port 1704) can be disabled Server: Add control script for go-librespot Bugfixes Client: Fix case of command line arguments Client: Fix deadlock during shutdown Fix building with boost v1.89.0 Fix MacOS CI General Server: Log warning if default config is missing Server: Make SSL support optional (-DBUILD_WITH_SSL) Make ALSA optional Enable OpenSSL support for Android builds in CMakeLists.txt Update Readme Build Trixie packages for amd64 tcp section in snapserver.conf renamed to tcp-control TCP streaming settings moved from stream to tcp-streaming @ text @$NetBSD: patch-server_control__session__http.cpp,v 1.1 2023/01/30 10:41:57 wiz Exp $ Build fix for boost 1.81.0 https://github.com/badaix/snapcast/commit/853c3f622ff2262b56681ee04dd20b4266c72493 --- server/control_session_http.cpp.orig 2021-12-22 17:40:36.000000000 +0000 +++ server/control_session_http.cpp @@@@ -127,8 +127,8 @@@@ boost::beast::string_view mime_type(boos 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( res.set(http::field::server, HTTP_SERVER_NAME); res.set(http::field::content_type, "text/html"); res.keep_alive(req.keep_alive()); - res.body() = why.to_string(); + res.body() = static_cast(why); res.prepare_payload(); return res; }; @@@@ -182,7 +182,7 @@@@ void ControlSessionHttp::handle_request( res.set(http::field::server, HTTP_SERVER_NAME); res.set(http::field::content_type, "text/html"); res.keep_alive(req.keep_alive()); - res.body() = "The resource '" + target.to_string() + "' was not found."; + res.body() = "The resource '" + static_cast(target) + "' was not found."; res.prepare_payload(); return res; }; @@@@ -204,7 +204,7 @@@@ void ControlSessionHttp::handle_request( res.set(http::field::server, HTTP_SERVER_NAME); res.set(http::field::content_type, "text/html"); res.keep_alive(req.keep_alive()); - res.body() = "An error occurred: '" + what.to_string() + "'"; + res.body() = "An error occurred: '" + static_cast(what) + "'"; res.prepare_payload(); return res; }; @ 1.1 log @snapcast: fix build with boost 1.81.0 using upstream patch @ text @d1 1 a1 1 $NetBSD$ @