Summary: configure fails to find AF_INET6 of OpenBSD
                 Project: Freeciv
            Submitted by: kernigh
            Submitted on: Monday 08/16/2010 at 21:49
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2_2
         Discussion Lock: Any
        Operating System: *BSD
         Planned Release: 



OpenBSD has AF_INET6, but _configure_ fails to find it. The check for
AF_INET6 fails because it forgot to include <sys/types.h> before
<sys/socket.h>. This is necessary because <sys/types.h> defines types like
'u_int8_t' which appear in <sys/socket.h>.

I attach a patch for S2_2 to configure.ac; this allows _configure_ to detect
AF_INET6 and enable IPv6 support above OpenBSD.

(Note that IPv6 support inside Freeciv is buggy because of bug #15559. If
this patch goes in, some users may want to configure --disable-ipv6 until bug
#15559 has a fix.)


File Attachments:

Date: Monday 08/16/2010 at 21:49  Name: p22-confinet6.diff  Size: 621B   By:
patch to configure.ac (S2_2)


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to