Re: Bug#770303: scanlogd: FTBFS on kfreebsd: error: 'struct tcphdr' has no member named 'th_dport'
Hi,
On 20/11/14 11:20, Andreas Beckmann wrote:
> scanlogd fails to build on kfreebsd-any.
> Nothing has changed on the package side since it was last built in 2012 ...
>
> https://buildd.debian.org/status/fetch.php?pkg=scanlogd&arch=kfreebsd-amd64&ver=2.2.5-3.2&stamp=1416358983
> https://buildd.debian.org/status/fetch.php?pkg=scanlogd&arch=kfreebsd-i386&ver=2.2.5-3.2&stamp=1416354082
> [...]
> scanlogd.c:216:12: error: 'struct tcphdr' has no member named 'th_dport'
> port = tcp->th_dport;
This is another instance of #764692 -- but seeing it did not affect
Linux here -- I realise now that the "__extension__ union" in struct
tcphdr is missing on kfreebsd and probably would have mitigated this.
Hopefully we can fix this and some the other FTBFS, by updating our
glibc sysdeps/unix/bsd/bsd4.4/kfreebsd/netinet/tcp.h
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: