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 0000000000000..fc1b852be61de --- /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 8c7ed7611cf1c..960ab105d90ad 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)