summaryrefslogtreecommitdiff
path: root/media-sound/snapcast
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/snapcast')
-rw-r--r--media-sound/snapcast/Manifest3
-rw-r--r--media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch26
-rw-r--r--media-sound/snapcast/snapcast-0.27.0.ebuild4
3 files changed, 32 insertions, 1 deletions
diff --git a/media-sound/snapcast/Manifest b/media-sound/snapcast/Manifest
index 94cebe5078b0..01bb7bb6ab85 100644
--- a/media-sound/snapcast/Manifest
+++ b/media-sound/snapcast/Manifest
@@ -1,7 +1,8 @@
+AUX snapcast-0.27.0-gcc13.patch 638 BLAKE2B f21507bc9cc751e90674e0680f4a095615f5f861d259e6fa51ffa9d1a9b26e91768d1a37b4b7503e497cfa82b820585506bc3224f597de12e8e95a0d55aa1694 SHA512 7d686fbf4290ed5848555c5fe1fe708d3a70dc175aed67677dc84325680e44ff2182cce1c2512e07e6af8b6d2af57906a55c61394b72dc88a409b69cb04b45e9
AUX snapclient.confd 641 BLAKE2B 74bae4c2c11fb7c1a7d4f2bd0f199c92a5ee11f68efb71da00026816f9dd7ba3555cc96c1e68be04dce26ea190a8e353c71817b5655ad2d9b43e3e510345c97b SHA512 f0adfca9354a4f5acb2def99585409e39229053e2b9be36309a67ac0b6935b1aeb061380a9e8a61d70bd902930536ec3afa98a6a708b08008eea1eb080fd1a5c
AUX snapclient.initd 381 BLAKE2B defa09df346dac279f1ed903adaf88842b060b34d774cfd987fa51e9885f4968b0144106883a1a48e502c3e3558ca408babd38c46663b13ee56215caa108c3be SHA512 f429dfef7abd5705a8afc38f68125a7a6e5a812cd68733c8f47a65c7fb6aa22fc665c91e557726b8f35edbaced7b2e72ffad0ba123a6ed33bf8a6d333e8c1bae
AUX snapserver.confd 1010 BLAKE2B 9d29348f1618dd399c5a9c500d1ec89fd6719243f472dbb666cfa16e6128411a83c9ac9401a1754b79ae4b560643d1f38c3f00f6f6d0a2301ad6e3fa2168c884 SHA512 98818d75e965d54082b33fa36769b74810b3137f07693eac00d10313c3716e72170e9148faa0ac25fefc7868bb7a206ac5ca6d18396fa71d1a74efcc14485548
AUX snapserver.initd 386 BLAKE2B a88d150fd5dc0e11b20fad8d07111ca9ef0074bd79d66179fc952b636296ee1b1d151a90d8774ad419cd7ec982305da3da3ddda43d55f5ad47c45d98adb72649 SHA512 d8f6b72d1a5be5f2ddd9266fac33b6d24b046993c532f204e68824919ed09f41988923a59ba722c3c9c748b87c1fdda1c91026f8e591993f34188ef3c488f379
DIST snapcast-0.27.0.tar.gz 1566337 BLAKE2B 77183cd2496beaf6808f8c1ff030cdb1e483c86ebafd57d0c75daa2dfe31030f0dd9704db40e2c0780b85c2b346e121ccd16c1cb75dea1f80e9834d3ae100fb8 SHA512 fd86f5b0d38bf308eb9cc1f3024676471176355a8cc91ee8c8d2dfe1aa0cde99fc7636133071b50304fe66ea42dee996e0088e013be7fa703f21c5bc2a35cfdd
-EBUILD snapcast-0.27.0.ebuild 1580 BLAKE2B 4c9415c42f5bf98e2fa623ad5850aceae2665baf3dc0a2af20de54445bf47baeb0a16174b6acf5e52e77dc3017cff5426e83c8305222385584156dcc107cc009 SHA512 92a82932d02f07afee37f1979a6e349c27873f2ae6750a0638dafb234152f2db2e286dc2b19c3aa01e4d98813ddf02c9fd04c70550d85088a977ce53f63417dd
+EBUILD snapcast-0.27.0.ebuild 1633 BLAKE2B 939937c162344b844f7e6037f8a223d353ebb47eb2afffb57b16e4a876df4e31bd4569ae7e676a5f933f4e24e5871ad9d039a57cb07ed824604644b59b6c393d SHA512 8792ed10a920b3c5b96bdeceb741392ee01224cae02862e47b037ea8f799df3ef975db421614275c323c7409b0036bd905b4a4b4e8713381a4ed855a7fcef7e7
MISC metadata.xml 1040 BLAKE2B 5a5296b35eeae6e07b8b8c3dc3d63b58fb2d1aff7c0977f87690b9228183624c9d21fb2699aa82fef1d6027ff2cd89cb7a282cfa2c2ea0683f9da5a728fff17c SHA512 ac97766f2fe178adf1d6f642c60fab45be05e9b0509f34a270cb970ab16b3596ea90fc16b25d94b6457ff7c3543d4b88e5d291c62079ecc6b9d9e730fedc6250
diff --git a/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch b/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
new file mode 100644
index 000000000000..5378874e6dd3
--- /dev/null
+++ b/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
@@ -0,0 +1,26 @@
+https://github.com/badaix/snapcast/pull/1124
+
+From 73c75ccb8eb20aa1514e8c86deb859e70bc63290 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+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 <cstdint>
+ #include <string>
+
+
+--
+2.40.0
+
diff --git a/media-sound/snapcast/snapcast-0.27.0.ebuild b/media-sound/snapcast/snapcast-0.27.0.ebuild
index d004bb179589..80e1997b38e9 100644
--- a/media-sound/snapcast/snapcast-0.27.0.ebuild
+++ b/media-sound/snapcast/snapcast-0.27.0.ebuild
@@ -37,6 +37,10 @@ DEPEND="
>=dev-cpp/popl-1.2.0
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.27.0-gcc13.patch
+)
+
src_configure() {
local mycmakeargs=(
-DBUILD_CLIENT=$(usex client)