mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
af6d6ef443
EAI_NODATA were obsoleted). There is some issue; we have EAI_NODATA as an alias of EAI_NONAME for workaround. However, some of these ports use it as a case label of switch. Since our alias broke such code, we may better to consider deleting such alias. Requested by: kris Approved by: portmgr (kris) (implicitly)
17 lines
322 B
C
17 lines
322 B
C
Index: source/ircaux.c
|
|
diff -u source/ircaux.c.orig source/ircaux.c
|
|
--- source/ircaux.c.orig Sun Jan 13 09:41:25 2002
|
|
+++ source/ircaux.c Thu Oct 30 00:57:46 2003
|
|
@@ -852,9 +852,11 @@
|
|
return -10;
|
|
#else
|
|
{
|
|
+#ifdef EAI_ADDRFAMILY
|
|
if (err == EAI_ADDRFAMILY)
|
|
return -10;
|
|
else
|
|
+#endif
|
|
return -2;
|
|
}
|
|
#endif
|