gentoo-ebuilds/net-analyzer/pktstat/files/pktstat-1.8.5-gcc15.patch
Alexey Sokolov e716e436f7
net-analyzer/pktstat: update EAPI 7 -> 8, fix for gcc15
Closes: https://bugs.gentoo.org/945321
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/41924
Closes: https://github.com/gentoo/gentoo/pull/41924
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-04 07:16:24 +01:00

24 lines
489 B
Diff

https://github.com/dleonard0/pktstat/pull/6
https://bugs.gentoo.org/945321
--- a/resize.c
+++ b/resize.c
@@ -36,7 +36,7 @@
#include "compat.h"
#ifdef SIGWINCH
-static RETSIGTYPE sigwinch();
+static RETSIGTYPE sigwinch(int sig);
#endif
static volatile int sigwinch_seen;
@@ -44,8 +44,7 @@ static volatile int sigwinch_seen;
#ifdef SIGWINCH
/* Set the flag when the window size changes */
static RETSIGTYPE
-sigwinch(sig)
- int sig;
+sigwinch(int sig)
{
sigwinch_seen = 1;
}