diff options
author | 2023-06-19 09:48:55 +0300 | |
---|---|---|
committer | 2023-06-20 08:18:51 +0200 | |
commit | a2f2a636d2acf27b210b6f56f227094212397114 (patch) | |
tree | 214cdaec9358bc302ed79b72b2144461be457903 /media-sound/guitarix | |
parent | dev-python/pydantic: Enable py3.12 in 2.0_beta3 (diff) | |
download | gentoo-a2f2a636d2acf27b210b6f56f227094212397114.tar.gz gentoo-a2f2a636d2acf27b210b6f56f227094212397114.tar.bz2 gentoo-a2f2a636d2acf27b210b6f56f227094212397114.zip |
media-sound/guitarix: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/908810
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/31542
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/guitarix')
-rw-r--r-- | media-sound/guitarix/files/guitarix-0.44.1-gcc-13.patch | 31 | ||||
-rw-r--r-- | media-sound/guitarix/guitarix-0.44.1.ebuild | 1 |
2 files changed, 32 insertions, 0 deletions
diff --git a/media-sound/guitarix/files/guitarix-0.44.1-gcc-13.patch b/media-sound/guitarix/files/guitarix-0.44.1-gcc-13.patch new file mode 100644 index 000000000000..ac7324963c26 --- /dev/null +++ b/media-sound/guitarix/files/guitarix-0.44.1-gcc-13.patch @@ -0,0 +1,31 @@ +From b52736180b6966f24398f8a5ad179a58173473ec Mon Sep 17 00:00:00 2001 +From: Thomas W Rodgers <rodgert@twrodgers.com> +Date: Tue, 31 Jan 2023 12:00:58 -0800 +Subject: [PATCH] Do not depend on <cstdint> via transitive inclusion + +Guitarix fails to compile with the upcoming version of GCC (GCC13) due +to a change that removes the transitive inclusion of <cstdint> from +other standard headers. + +See also - + https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/HLHKK7P5RB3BLQ5CV4STJGUYBFPC2VTB/ +--- + src/LV2/DSP/gx_common.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/LV2/DSP/gx_common.h b/src/LV2/DSP/gx_common.h +index 71108442..132a6839 100644 +--- a/src/LV2/DSP/gx_common.h ++++ b/src/LV2/DSP/gx_common.h +@@ -22,7 +22,7 @@ + #ifndef SRC_HEADERS_GX_COMMON_H_ + #define SRC_HEADERS_GX_COMMON_H_ + +- ++#include <cstdint> + #include <cstdlib> + #include <cmath> + #include <iostream> +-- +2.39.3 + diff --git a/media-sound/guitarix/guitarix-0.44.1.ebuild b/media-sound/guitarix/guitarix-0.44.1.ebuild index 5529fdc46ede..14885014cd74 100644 --- a/media-sound/guitarix/guitarix-0.44.1.ebuild +++ b/media-sound/guitarix/guitarix-0.44.1.ebuild @@ -65,6 +65,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.41.0-nostrip.patch "${FILESDIR}"/${PN}-0.41.0-py3.11.patch "${FILESDIR}"/${PN}-0.44.1-zita-resampler-1.10.patch + "${FILESDIR}"/${P}-gcc-13.patch ) src_configure() { |