pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Patch needed for comms/conserver8 on -current or netbsd-5



  Hi there.  I'm not sure where I should look for who is the owner/maintainer 
of a package in pkgsrc.  Sorry if this is wrong, or too broad, of an audience.

  I recently upgraded one of my i386 machines to 5.0_STABLE, and found that a 
new compilation of comms/conserver8 no longer worked.  In working with the 
author of conserver, I eventually found that the attached one-line patch 
corrected an error in his code.  I have contributed this back to him, and he's 
already committed it to his tree, but indicated that he doesn't plan a release 
in the short term, and suggested I send this along for inclusion in the pkgsrc 
patches for comms/conserver8.

  Please let me know if there's anything else I need to do, or simply place 
this into the pkgsrc/comms/conserver8 tree.  I can provide the e-mail thread I 
had discussing this with the author of conserver if needed.

  Thank you.

                                    - Chris



  
--- conserver/cutil.c.orig      2009-06-08 09:49:09.000000000 -0400
+++ conserver/cutil.c   2009-06-08 09:49:14.000000000 -0400
@@ -2283,7 +2283,7 @@
        if ((ifc.ifc_len - r) < sizeof(*ifr))
            break;
 #ifdef HAVE_SA_LEN
-       if (sa->sa_len > sizeof(ifr->ifr_addr))
+       if (sa->sa_len > sizeof(ifr->ifr_ifru))
            r += sizeof(ifr->ifr_name) + sa->sa_len;
        else
 #endif


Home | Main Index | Thread Index | Old Index