Package: openct Severity: important Tags: patch Hi,
The current version of openct fails to build on GNU/kFreeBSD. Please find attached a small patch to fix that. It would be nice if you can include it in your next upload. Thanks for your cooperation, Aurelien -- System Information: Debian Release: testing/unstable Architecture: kfreebsd-i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: GNU/kFreeBSD 5.4-1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Author: aurel32 Status: in BTS --- openct-0.6.6.orig/src/ifd/sys-bsd.c +++ openct-0.6.6/src/ifd/sys-bsd.c @@ -11,7 +11,7 @@ */ #include "internal.h" -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) #include <sys/types.h> #include <dev/usb/usb.h> #include <sys/stat.h> only in patch2: unchanged: --- openct-0.6.6.orig/src/ifd/sys-null.c +++ openct-0.6.6/src/ifd/sys-null.c @@ -8,7 +8,7 @@ */ #include "internal.h" -#if !defined(sun) && !defined (__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__linux__) +#if !defined(sun) && !defined (__NetBSD__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__linux__) && !defined(__FreeBSD_kernel__) #include <sys/types.h> #include <stdio.h> #include <openct/driver.h>