URL:
  <http://gna.org/bugs/?16458>

                 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: 

    _______________________________________________________

Details:

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:
kernigh
patch to configure.ac (S2_2)
<http://gna.org/bugs/download.php?file_id=9867>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16458>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to