Date: Wed, 10 Dec 2003 12:50:28 -0800 From: "Scott M. Likens" <damm@yazzy.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60118: further updated / patch approved by author of scrollz [irc/scrollz] Message-ID: 1071089428@acheron.livid.de Resent-Message-ID: <200312102100.hBAL0BWD039900@freefall.freebsd.org>
| raw e-mail | index | archive | help
>Number: 60118 >Category: ports >Synopsis: further updated / patch approved by author of scrollz [irc/scrollz] >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Dec 10 13:00:11 PST 2003 >Closed-Date: >Last-Modified: >Originator: Scott M. Likens >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD acheron.livid.de 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Sun Oct 19 17:30:10 PDT 2003 damm@acheron.livid.de:/usr/src/sys/i386/compile/LIVID i386 >Description: Further updated patch, spoken to the author of scrollz and he approves of patch and will take note of it in future release of scrollz. >How-To-Repeat: remove old patch-source-ircaux.c and use this one. Due to old depreciated items, this patch allows ipv6 to work properly with said patch. >Fix: diff -urN source.old/ircaux.c source/ircaux.c --- source.old/ircaux.c Tue Nov 18 17:05:41 2003 +++ source/ircaux.c Tue Nov 18 17:05:25 2003 @@ -861,20 +861,20 @@ err = getaddrinfo(localhost, localport, &hintsx, &res0x); if (err != 0) -#if defined(__linux__) && 0 - /* - * Due to bug in glibc implementation in getaddrinfo() we always - * return -10. This will be fixed, soon - */ - return -10; -#else - { +{ +/* Dirty little hack here, brought to us by ircII-20030709 damm@yazzy.org */ +# ifndef EAI_ADDRFAMILY +# ifdef EAI_FAMILY +# define EAI_ADDRFAMILY EAI_FAMILY +# else +# error "no EAI_ADDRFAMILY or EAI_FAMILY" +# endif +# endif if (err == EAI_ADDRFAMILY) else return -2; } -#endif err = -1; for (resx = res0x; resx; resx = resx->ai_next) { return -10; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1071089428>