Bug#764692: dns-flood-detector: FTBFS on kfreebsd-*
clone 764692 -1 reassign -1 src:dns-flood-detector found -1 dns-flood-detector/1.20-2 tags -1 + patch 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, [...] https://buildd.debian.org/status/fetch.php?pkg=dns-flood-detectorarch=kfreebsd-amd64ver=1.20-2stamp=1413149812 This problem with glibc 2.19 can be worked around in dns-flood-detector with the attached patch. (Although in the next release of glibc, it might no longer work, so maybe libbsd-dev could provide a suitable netinet/tcp.h someday) Thanks, Regards, -- Steven Chamberlain ste...@pyro.eu.org --- debian/rules.orig 2014-10-12 20:01:04.0 +0100 +++ debian/rules 2014-10-15 12:35:53.128715139 +0100 @@ -11,7 +11,7 @@ CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -CFLAGS += -D_BSD_SOURCE -Wall -g +CFLAGS += -D_BSD_SOURCE -D__FAVOR_BSD -Wall -g LDLIBS += -lpcap -lpthread -lm ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
Processed: Re: Bug#764692: dns-flood-detector: FTBFS on kfreebsd-*
Processing commands for cont...@bugs.debian.org: clone 764692 -1 Bug #764692 [libc0.1-dev] glibc: removed __FAVOR_BSD from features.h Bug 764692 cloned as bug 765468 reassign -1 src:dns-flood-detector Bug #765468 [libc0.1-dev] glibc: removed __FAVOR_BSD from features.h Bug reassigned from package 'libc0.1-dev' to 'src:dns-flood-detector'. No longer marked as found in versions glibc/2.19-11. Ignoring request to alter fixed versions of bug #765468 to the same values previously set found -1 dns-flood-detector/1.20-2 Bug #765468 [src:dns-flood-detector] glibc: removed __FAVOR_BSD from features.h Marked as found in versions dns-flood-detector/1.20-2. tags -1 + patch Bug #765468 [src:dns-flood-detector] glibc: removed __FAVOR_BSD from features.h Ignoring request to alter tags of bug #765468 to the same tags previously set thanks Stopping processing here. Please contact me if you need assistance. -- 764692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764692 765468: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765468 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org