Package: boinc Version: 6.4.5+dfsg-2 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: kfreebsd
Hi, (-bsd@ X-D-Cc'd because a proper fix would be welcome.) your package FTBFS on GNU/kFreeBSD due to some termios-related detection issues. Since I wanted to check whether that was the only problem, I've come to this very nasty hack, that might do for a while, until a proper solution is found. Build logs are available there: https://buildd.debian.org/status/package.php?suite=unstable&p=boinc Thanks for considering. Mraw, KiBi.
--- a/zip/unzip/ttyio.c +++ b/zip/unzip/ttyio.c @@ -173,6 +173,12 @@ # endif /* ?VMS */ #endif /* !HAVE_WORKING_GETCH */ +#if defined(__FreeBSD_kernel__) +/* This is a very nasty hack, sufficient to get boinc built on GNU/kFreeBSD. */ +#define __USE_BSD 1 +#include <sys/termios.h> +#include <sys/ioctl_compat.h> +#endif #ifndef HAVE_WORKING_GETCH