diff --git a/net-irc/unrealircd/files/unrealircd-system-cares.patch b/net-irc/unrealircd/files/unrealircd-system-cares.patch --- a/net-irc/unrealircd/files/unrealircd-system-cares.patch +++ b/net-irc/unrealircd/files/unrealircd-system-cares.patch @@ -81,4 +81,46 @@ diff -u /var/tmp/portage/net-irc/unreali # # use the following on MIPS: #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR) +--- /src/res.c 2006-09-19 08:45:18.000000000 -0400 ++++ /tmp/buffer-content-12842ago 2009-01-15 20:51:26.000000000 -0500 +@@ -49,9 +49,9 @@ + #include + + /* Forward declerations */ +-void unrealdns_cb_iptoname(void *arg, int status, struct hostent *he); +-void unrealdns_cb_nametoip_verify(void *arg, int status, struct hostent *he); +-void unrealdns_cb_nametoip_link(void *arg, int status, struct hostent *he); ++void unrealdns_cb_iptoname(void *arg, int status, int timeouts, struct hostent *he); ++void unrealdns_cb_nametoip_verify(void *arg, int status, int timeouts, struct hostent *he); ++void unrealdns_cb_nametoip_link(void *arg, int status, int timeouts, struct hostent *he); + void unrealdns_delasyncconnects(void); + static unsigned int unrealdns_haship(void *binaryip, int length); + static void unrealdns_addtocache(char *name, void *binaryip, int length); +@@ -240,7 +240,7 @@ + #endif + } + +-void unrealdns_cb_iptoname(void *arg, int status, struct hostent *he) ++void unrealdns_cb_iptoname(void *arg, int status, int timeouts, struct hostent *he) + { + DNSReq *r = (DNSReq *)arg; + DNSReq *newr; +@@ -290,7 +290,7 @@ + } + + +-void unrealdns_cb_nametoip_verify(void *arg, int status, struct hostent *he) ++void unrealdns_cb_nametoip_verify(void *arg, int status, int timeouts, struct hostent *he) + { + DNSReq *r = (DNSReq *)arg; + aClient *acptr = r->cptr; +@@ -363,7 +363,7 @@ + unrealdns_freeandremovereq(r); + } + +-void unrealdns_cb_nametoip_link(void *arg, int status, struct hostent *he) ++void unrealdns_cb_nametoip_link(void *arg, int status, int timeouts, struct hostent *he) + { + DNSReq *r = (DNSReq *)arg; + int n;