[Pkg-gtkpod-devel] Bug#764692: glibc removed __FAVOR_BSD from features.h (was: usbmuxd: FTBFS on kfreebsd-*)
Steven Chamberlain
steven at pyro.eu.org
Sun Oct 12 22:24:29 UTC 2014
clone 764692 -1
reassign 764692 libc0.1-dev
found 764692 glibc/2.19-11
retitle 764692 glibc: removed __FAVOR_BSD from features.h
thanks
Hi,
On 12/10/14 16:45, Steven Chamberlain wrote:
> glibc-provided features.h no longer defines a __FAVOR_BSD macro, so the
> BSD version of struct tcphdr in netinet/tcp.h cannot be used, [...]
Seems we've had another occurrence of this with dns-flood-detector; I'm
worried there could still be more packages affected by the change:
https://buildd.debian.org/status/fetch.php?pkg=dns-flood-detector&arch=kfreebsd-amd64&ver=1.20-2&stamp=1413149812
Was this macro removed for a good reason or could we add it back in?
/usr/include/features.h:
| /* If _BSD_SOURCE was defined by the user, favor BSD over POSIX. */
| #if defined _BSD_SOURCE && \
| !(defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || \
| defined _XOPEN_SOURCE || defined _GNU_SOURCE || defined
_SVID_SOURCE)
| # define __FAVOR_BSD 1
| #endif
Thanks,
Regards,
--
Steven Chamberlain
steven at pyro.eu.org
More information about the Pkg-gtkpod-devel
mailing list