summaryrefslogtreecommitdiff
path: root/media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch')
-rw-r--r--media-sound/snapcast/files/snapcast-0.27.0-gcc13.patch26
1 files changed, 26 insertions, 0 deletions
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
+