[MacPorts] #60063: xdm @1.1.12 fails to build on <= 10.8

MacPorts noreply at macports.org
Sun Feb 9 04:41:07 UTC 2020


#60063: xdm @1.1.12 fails to build on <= 10.8
--------------------+----------------------
 Reporter:  jmroot  |      Owner:  jeremyhu
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  xdm
--------------------+----------------------
 https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/15608/steps
 /install-port/logs/stdio
 {{{
 In file included from auth.c:76:
 /usr/include/net/if.h:306:19: error: field has incomplete type 'struct
 sockaddr'
                 struct  sockaddr ifru_addr;
 }}}

 IIRC you need to include sys/socket.h before net/if.h. That would be done
 via dm_socket.h if TCPCONN were defined, but it's not because we don't
 configure with --enable-tcp-transport. It's not clear from my quick
 inspection what (if anything) the net/if.h include is needed for in these
 circumstances.

-- 
Ticket URL: <https://trac.macports.org/ticket/60063>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list