media-sound/pwavecat: fix build w/ C23

Drop conflicting declaration.

Closes: https://bugs.gentoo.org/945244
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-05-26 01:36:18 +01:00
parent 660bb95850
commit d031d07f84
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,11 @@
https://bugs.gentoo.org/945244
--- a/parts.c
+++ b/parts.c
@@ -38,7 +38,6 @@ return 0; /* not found */
struct part *install_part_at_end_of_list(char *name)
{
struct part *plast, *pnew;
-struct part *lookup_part();
if(debug_flag) fprintf(stderr, "install_part(): arg name=%s\n", name);

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=7 EAPI=7
@ -18,6 +18,7 @@ PATCHES=(
"${FILESDIR}"/${P}-version.patch "${FILESDIR}"/${P}-version.patch
"${FILESDIR}"/${P}-overflow.patch "${FILESDIR}"/${P}-overflow.patch
"${FILESDIR}"/${P}-fno-common.patch "${FILESDIR}"/${P}-fno-common.patch
"${FILESDIR}"/${P}-c23.patch
) )
src_configure() { src_configure() {