1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Description: make it compile with gcc15
Index: force-ip-protocol/force-ip-protocol-ipv4-or-ipv6.c
===================================================================
--- force-ip-protocol.orig/force-ip-protocol-ipv4-or-ipv6.c 2025-09-07 00:21:18.790851552 +0200
+++ force-ip-protocol/force-ip-protocol-ipv4-or-ipv6.c 2025-09-07 00:36:13.115362262 +0200
@@ -34,7 +34,7 @@
int getaddrinfo(const char *hostname, const char *servname,
const struct addrinfo *hints, struct addrinfo **res)
{
- int (*getaddrinfo_org)();
+ int (*getaddrinfo_org)(const char *, const char *, const struct addrinfo *, struct addrinfo **);
struct addrinfo *hints2 = (struct addrinfo *) hints;
getaddrinfo_org = dlsym(RTLD_NEXT, "getaddrinfo");
|