tag 980213 + patch thanks Actually, meson is doing the correct thing.
So the only problem is the check that uses __FreeBSD__ instead of __FreeBSD_kernel__
The attached patch fix the FTBFS here Could you please apply that patch in debian? Thanks Laurent Bigonville
Description: Fix FTBFS on kfreebsd Author: Laurent Bigonville <[email protected]> Forwarded: yes Bug: https://github.com/libfuse/libfuse/issues/580 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980213 --- a/lib/mount_util.c +++ b/lib/mount_util.c @@ -30,7 +30,7 @@ #include <sys/mount.h> #include <sys/param.h> -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) #define umount2(mnt, flags) unmount(mnt, ((flags) == 2) ? MNT_FORCE : 0) #endif

