From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/audacity/files/, media-sound/audacity/
Date: Sat, 15 Apr 2023 00:47:17 +0000 (UTC) [thread overview]
Message-ID: <1681519502.0e748c0d213d1fde1baa4cdbe01252c409d3341f.sam@gentoo> (raw)
commit: 0e748c0d213d1fde1baa4cdbe01252c409d3341f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 15 00:45:02 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 15 00:45:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e748c0d
media-sound/audacity: add partial GCC 13 fix
Closes: https://bugs.gentoo.org/899764
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-sound/audacity/audacity-3.2.5.ebuild | 3 +++
.../audacity/files/audacity-3.2.5-gcc13.patch | 25 ++++++++++++++++++++++
2 files changed, 28 insertions(+)
diff --git a/media-sound/audacity/audacity-3.2.5.ebuild b/media-sound/audacity/audacity-3.2.5.ebuild
index 9b1ee5735698..0d2e26a3d311 100644
--- a/media-sound/audacity/audacity-3.2.5.ebuild
+++ b/media-sound/audacity/audacity-3.2.5.ebuild
@@ -122,6 +122,9 @@ PATCHES=(
# For has_networking
"${FILESDIR}/${PN}-3.2.3-remove-conan-threadpool.patch"
"${FILESDIR}/${PN}-3.2.3-allow-finding-rapidjson-pkgconfig.patch"
+
+ # GCC 13
+ "${FILESDIR}/${PN}-3.2.5-gcc13.patch"
)
src_prepare() {
diff --git a/media-sound/audacity/files/audacity-3.2.5-gcc13.patch b/media-sound/audacity/files/audacity-3.2.5-gcc13.patch
new file mode 100644
index 000000000000..265d73fd9e71
--- /dev/null
+++ b/media-sound/audacity/files/audacity-3.2.5-gcc13.patch
@@ -0,0 +1,25 @@
+https://github.com/audacity/audacity/issues/4489
+https://bugs.gentoo.org/899764
+
+--- a/lib-src/libnyquist/nyquist/nyqstk/include/Stk.h
++++ b/lib-src/libnyquist/nyquist/nyqstk/include/Stk.h
+@@ -47,6 +47,7 @@
+ #endif
+
+ #include <stddef.h>
++#include <stdint.h>
+ #include <string>
+ #include <iostream>
+ #include <sstream>
+@@ -355,10 +356,6 @@
+ typedef signed int SINT32;
+ typedef float FLOAT32;
+ typedef double FLOAT64;
+-// added by RBD
+-#ifdef __linux__
+-#define intptr_t long
+-#endif
+
+ // The default sampling rate.
+ const StkFloat SRATE = 44100.0;
+
next reply other threads:[~2023-04-15 0:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-15 0:47 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-24 7:34 [gentoo-commits] repo/gentoo:master commit in: media-sound/audacity/files/, media-sound/audacity/ Sam James
2024-11-01 6:29 Miroslav Šulc
2024-10-25 20:30 Andreas K. Hüttel
2024-04-02 10:28 Sam James
2024-03-23 8:29 Sam James
2024-01-16 3:36 Sam James
2023-06-30 12:31 David Seifert
2023-01-20 22:18 Arsen Arsenović
2020-09-02 8:33 Miroslav Šulc
2020-08-06 4:57 Miroslav Šulc
2018-02-21 11:08 Lars Wendler
2018-02-21 11:08 Lars Wendler
2018-02-18 11:13 Lars Wendler
2017-06-05 9:45 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1681519502.0e748c0d213d1fde1baa4cdbe01252c409d3341f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox