summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-01-31 00:03:59 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-01-31 12:15:28 +0100
commitba0d52454a0c0b24a6a282a13067724cee40a97b (patch)
treee47b9ab8f99a196b70901e0c64a33fe1e9dfd829 /media-sound
parentmedia-sound/supercollider: Fix build with >=dev-libs/boost-1.84 (diff)
downloadgentoo-ba0d52454a0c0b24a6a282a13067724cee40a97b.tar.gz
gentoo-ba0d52454a0c0b24a6a282a13067724cee40a97b.tar.bz2
gentoo-ba0d52454a0c0b24a6a282a13067724cee40a97b.zip
media-sound/supercollider: Fix build with GCC-13
See also: https://github.com/supercollider/supercollider/issues/6021 Thanks-to: Kfir Ozer Closes: https://bugs.gentoo.org/905127 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/supercollider/files/supercollider-3.13.0-gcc-13.patch15
-rw-r--r--media-sound/supercollider/supercollider-3.13.0.ebuild5
2 files changed, 19 insertions, 1 deletions
diff --git a/media-sound/supercollider/files/supercollider-3.13.0-gcc-13.patch b/media-sound/supercollider/files/supercollider-3.13.0-gcc-13.patch
new file mode 100644
index 000000000000..1ff8f5f92203
--- /dev/null
+++ b/media-sound/supercollider/files/supercollider-3.13.0-gcc-13.patch
@@ -0,0 +1,15 @@
+Gentoo-bug: https://bugs.gentoo.org/905127
+Upstream issue: https://github.com/supercollider/supercollider/issues/6021
+
+diff --git a/common/SC_PaUtils.cpp b/common/SC_PaUtils.cpp
+index e0f562c..9e45c63 100644
+--- a/common/SC_PaUtils.cpp
++++ b/common/SC_PaUtils.cpp
+@@ -3,6 +3,7 @@
+ #include "SC_PaUtils.hpp"
+ #include <cstring>
+ #include <cstdio>
++#include <cstdint>
+
+ #ifdef __APPLE__
+ # include <pa_mac_core.h>
diff --git a/media-sound/supercollider/supercollider-3.13.0.ebuild b/media-sound/supercollider/supercollider-3.13.0.ebuild
index 3db84144c434..b0e05051ca89 100644
--- a/media-sound/supercollider/supercollider-3.13.0.ebuild
+++ b/media-sound/supercollider/supercollider-3.13.0.ebuild
@@ -61,7 +61,10 @@ DEPEND="${RDEPEND}
vim? ( app-editors/vim )
"
-PATCHES=( "${FILESDIR}/${P}-boost-1.84.patch" ) # bug 921595
+PATCHES=(
+ "${FILESDIR}/${P}-boost-1.84.patch" # bug 921595
+ "${FILESDIR}/${P}-gcc-13.patch" # bug 905127
+)
src_configure() {
local mycmakeargs=(