commit:     d031d07f8464e9aeb8f0acdbcdb63229ef8aeca9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 26 00:36:18 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 26 00:37:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d031d07f

media-sound/pwavecat: fix build w/ C23

Drop conflicting declaration.

Closes: https://bugs.gentoo.org/945244
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/pwavecat/files/pwavecat-0.4.5-c23.patch           | 11 +++++++++++
 .../{pwavecat-0.4.5.ebuild => pwavecat-0.4.5-r1.ebuild}       |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/media-sound/pwavecat/files/pwavecat-0.4.5-c23.patch 
b/media-sound/pwavecat/files/pwavecat-0.4.5-c23.patch
new file mode 100644
index 000000000000..c815e5f64d36
--- /dev/null
+++ b/media-sound/pwavecat/files/pwavecat-0.4.5-c23.patch
@@ -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);
+ 

diff --git a/media-sound/pwavecat/pwavecat-0.4.5.ebuild 
b/media-sound/pwavecat/pwavecat-0.4.5-r1.ebuild
similarity index 89%
rename from media-sound/pwavecat/pwavecat-0.4.5.ebuild
rename to media-sound/pwavecat/pwavecat-0.4.5-r1.ebuild
index 284b2e17ce75..193dc8e3c1b8 100644
--- a/media-sound/pwavecat/pwavecat-0.4.5.ebuild
+++ b/media-sound/pwavecat/pwavecat-0.4.5-r1.ebuild
@@ -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
 
 EAPI=7
@@ -18,6 +18,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-version.patch
        "${FILESDIR}"/${P}-overflow.patch
        "${FILESDIR}"/${P}-fno-common.patch
+       "${FILESDIR}"/${P}-c23.patch
 )
 
 src_configure() {

Reply via email to