[Dsc-maintainers] Bug#622226: Bug#621771: dsc-statistics: FTBFS: uudecode not found; not ported to kFreeBSD

Marc Haber mh+debian-packages at zugschlus.de
Tue Apr 12 08:10:20 UTC 2011


On Fri, Apr 08, 2011 at 01:29:58PM -0400, Aaron M. Ucko wrote:
> In addition (I know this should be a separate report, but I'm lazy ;-),
> I see that the kFreeBSD builds fail before even attempting to build
> documentation because struct udphdr and struct tcphdr aren't as expected:

The code defines the respective maros on Linux:

#ifdef __linux__
#define uh_dport dest
#define uh_sport source
#define th_off doff
#define th_dport dest
#define th_sport source
#define th_seq seq
#define TCPFLAGFIN(a) (a)->fin
#define TCPFLAGSYN(a) (a)->syn
#define TCPFLAGRST(a) (a)->rst
#else
#define TCPFLAGSYN(a) ((a)->th_flags&TH_SYN)
#define TCPFLAGFIN(a) ((a)->th_flags&TH_FIN)
#define TCPFLAGRST(a) ((a)->th_flags&TH_RST)
#endif

Are these defines appropriate on kFreeBSD as well? Does kFreeBSD
define a macro that dsc's code could trigger on? Are you in a position
to test whether patched code would actually run?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835





More information about the Dsc-maintainers mailing list