diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-29 16:25:23 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2003-10-29 16:25:23 +0000 |
commit | af6d6ef44301138b8c84d89faf790308d8f31d56 (patch) | |
tree | ff2ea9992e8215623ec20b39f3e8336a1c5a00f2 /irc/ninja/files/patch-source::ircaux.c | |
parent | 8d87a71c306d0c7335af7421c61d540b8110511d (diff) |
fix build on 5-CURRENT after RFC3542 change (EAI_ADDRFAMILY and
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)
Notes
Notes:
svn path=/head/; revision=92577
Diffstat (limited to 'irc/ninja/files/patch-source::ircaux.c')
-rw-r--r-- | irc/ninja/files/patch-source::ircaux.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/irc/ninja/files/patch-source::ircaux.c b/irc/ninja/files/patch-source::ircaux.c new file mode 100644 index 000000000000..6cda7ec0b761 --- /dev/null +++ b/irc/ninja/files/patch-source::ircaux.c @@ -0,0 +1,16 @@ +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 |