Files
openwrt-packages/sound/snapcast/patches/005-v0.32.4-fix-building-with-boost-v1.89.0.patch
Szabolcs Hubai 7dee0d0937 snapcast: fix compilation with boost 1.89.0
Boost upgrade hit Snapcast again: badaix/snapcast#1413

This patch is based on commit badaix/snapcast@d2e1635ebd ("Fix
building with boost v1.89.0").

Refs: 965dc7088e ("boost: Updates package to version 1.89.0")

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2025-09-09 12:57:14 +08:00

20 lines
483 B
Diff

From d2e1635ebd96ac76cc779cb3ab73bae10fd88fd1 Mon Sep 17 00:00:00 2001
From: badaix <johannes.pohl@badaix.de>
Date: Thu, 14 Aug 2025 20:25:01 +0200
Subject: [PATCH] Fix building with boost v1.89.0
---
client/player/alsa_player.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
--- a/client/player/alsa_player.cpp
+++ b/client/player/alsa_player.cpp
@@ -30,6 +30,7 @@
// standard headers
#include <chrono>
+#include <cmath>
using namespace std::chrono_literals;