5 Commits

Author SHA1 Message Date
Markus Volk 2f185f00d2 libnfs: update 5.0.2 -> 5.0.3
Add cmake checks for sys/uio.h

Fixes build issues with latest compiler e.g. gcc-14

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-12 19:33:53 -08:00
Khem Raj 61663d2990 libnfs: Drop -Wno-implicit-function-declaration
clang builds work without this Workaround

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-30 12:26:48 -07:00
Markus Volk 708b3016e8 libnfs: dont install libnfs-config.cmake
kodi uses its own FindNFS.cmake	to find	libnfs and succeeds with pkgconfig.
If libnfs-config.cmake is found it will also be utilized (for win/mac?)
which is generally bad for cross-compiling and causes the prefix to get hardcoded
to /usr thus libnfs.so.5.0.2 is taken from the host machine

Removing this file fixes:
| aarch64-poky-linux-ld.lld: error: /usr/lib/libnfs.so.5.0.2 is incompatible with elf64-littleaarch64
| aarch64-poky-linux-clang++: error: linker command failed with exit code 1 (use -v to see invocation)
| ninja: build stopped: subcommand failed.

Add CFLAG workaround to fix compiling with clang complaining about
old coding style while gcc doesn't care.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-28 21:44:26 -07:00
Martin Jansa be1fa63b69 libnfs: fix installed-vs-shipped issues with multilib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-03 21:24:55 -07:00
Markus Volk 8486680d5b libnfs: add recipe
This package is e.g. needed as a dependency for kodi or gvfs

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-08 10:05:00 -07:00