mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/scream: fix build with gcc15
Closes: https://bugs.gentoo.org/949386 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/40483 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
478539de4f
commit
ab19c1d602
11
media-sound/scream/files/scream-4.0-gcc15.patch
Normal file
11
media-sound/scream/files/scream-4.0-gcc15.patch
Normal file
@@ -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);
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user