Re: security/libfprint: any updates?

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 19 Dec 2023 01:45:20 UTC
Maxim V Filimonov <che@bein.link> writes:

> Hello,
>
> I'm trying to build new-ish versions of libfprint on FreeBSD
> (probably, that could result in an update to the port as well), but I
> encountered a problem:
>
> ../libfprint/fpi-spi-transfer.c:22:10: fatal error:
> 'linux/spi/spidev.h' file not found
> #include <linux/spi/spidev.h>
>          ^~~~~~~~~~~~~~~~~~~~

Perhaps <sys/spigenio.h> as documented in spigen(4) manpage. Neither
linuxulator nor ports/ tree have examples how to translate SPI_IOC_MESSAGE
into SPIGENIOC_TRANSFER or similar. However, spi(8) can probably help both
debugging and learning the API.

Disclaimer: I don't use this port and not familar with SPI.