gentoo-ebuilds/net-news/yydecode/files/yydecode-0.2.10-gcc15.patch
Alexey Sokolov 73452e0414
net-news/yydecode: fix build with gcc 15
Closes: https://bugs.gentoo.org/944985
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/41802
Closes: https://github.com/gentoo/gentoo/pull/41802
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-28 00:01:37 +01:00

12 lines
230 B
Diff

https://bugs.gentoo.org/944985
--- a/src/error.c
+++ b/src/error.c
@@ -56,7 +56,6 @@ void exit ();
extern char *program_name;
#ifdef HAVE_STRERROR
-char *strerror ();
#else
extern char *sys_errlist[];
extern int sys_nerr;