Opened 5 years ago
Closed 3 years ago
#60063 closed defect (fixed)
xdm @1.1.12 fails to build on <= 10.8
Reported by: | jmroot (Joshua Root) | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Schamschula (Marius Schamschula) | |
Port: | xdm |
Description
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.
Change History (2)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Cc: | Schamschula added |
---|
comment:2 Changed 3 years ago by ken-cunningham-webuse
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
[cfb7200a702f63a69c4302d62a7c9074218796a2/macports-ports] removed the use of a patch that appears to have been working around this issue (though didn't delete the patch itself). Not sure if it was the most correct fix, but it seemed to work before.