ports/60118: further updated / patch approved by author of scrollz [irc/scrollz]

Scott M. Likens damm at yazzy.org
Wed Dec 10 21:00:22 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list