public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/scream/, media-sound/scream/files/
@ 2025-02-08  3:09 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-02-08  3:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ab19c1d602528058bad2d3fdf1cb751dc28a1bb9
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Sat Feb  8 00:00:06 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 03:09:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab19c1d6

media-sound/scream: fix build with gcc15

Closes: https://bugs.gentoo.org/949386
Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Closes: https://github.com/gentoo/gentoo/pull/40483
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/scream/files/scream-4.0-gcc15.patch | 11 +++++++++++
 media-sound/scream/scream-4.0.ebuild            |  6 +++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/media-sound/scream/files/scream-4.0-gcc15.patch b/media-sound/scream/files/scream-4.0-gcc15.patch
new file mode 100644
index 000000000000..fc1b852be61d
--- /dev/null
+++ b/media-sound/scream/files/scream-4.0-gcc15.patch
@@ -0,0 +1,11 @@
+--- a/jack.c
++++ b/jack.c
+@@ -107,7 +107,7 @@ jo_data;
+ static int init_resampler();
+ static int init_channels();
+ static int connect_ports();
+-static int process_source_data();
++static int process_source_data(receiver_data_t *data);
+ 
+ // JACK realtime process callback
+ int jack_process(jack_nframes_t nframes, void *arg);

diff --git a/media-sound/scream/scream-4.0.ebuild b/media-sound/scream/scream-4.0.ebuild
index 8c7ed7611cf1..960ab105d90a 100644
--- a/media-sound/scream/scream-4.0.ebuild
+++ b/media-sound/scream/scream-4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -32,6 +32,10 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=(
+	"${FILESDIR}/${P}-gcc15.patch"
+)
+
 src_configure() {
 	local mycmakeargs=(
 		-DALSA_ENABLE=$(usex alsa)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-08  3:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-08  3:09 [gentoo-commits] repo/gentoo:master commit in: media-sound/scream/, media-sound/scream/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox