Package: owfs Version: 2.9p8-3 Severity: serious Tags: patch Hi,
owfs still FTBFS on kfreebsd... In freebsd.patch, the #ifdefs need to be __FreeBSD_kernel__ instead. Please see attached. Then it builds fine on kfreebsd-amd64. (You have only 15 minutes left until dinstall though). -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: kfreebsd-amd64 (x86_64) Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Better support for FreeBSD --- a/module/owfs/src/c/owfs.c +++ b/module/owfs/src/c/owfs.c @@ -17,6 +17,9 @@ #include "owfs.h" #include "ow_connection.h" +#ifdef __FreeBSD_kernel__ +#include "sys/param.h" +#endif #include "sys/mount.h" /* @@ -129,7 +132,11 @@ // Unmount just in case // No checks -- can fail without consequences +#ifdef __FreeBSD_kernel__ + unmount( Outbound_Control.head->name, 0); +#else umount( Outbound_Control.head->name ) ; +#endif Fuse_parse(fuse_mnt_opt, &fuse_options); LEVEL_DEBUG("fuse_mnt_opt=[%s]", fuse_mnt_opt);