Files
gentoo/dev-perl/Socket6/files/Socket6-0.290.0-pointer-warning.patch
Sam James fa1f1dc131 dev-perl/Socket6: fix -Wint-to-pointer-cast
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-29 04:44:34 +01:00

13 lines
336 B
Diff

https://rt.cpan.org/Public/Bug/Display.html?id=116784
--- a/Socket6.xs
+++ b/Socket6.xs
@@ -109,7 +109,7 @@ const struct in6_addr in6addr_loopback = IN6ADDR_LOOPB
#define PL_sv_undef sv_undef
#endif
-static int
+static long
not_here(char *s)
{
croak("Socket6::%s not implemented on this architecture", s);