[Buildroot] [PATCH] package/mbpfan: fix build on musl / uclibc-ng

Peter Korsgaard peter at korsgaard.com
Thu Sep 11 21:45:40 UTC 2025


>>>>> "Thomas" == Thomas Perale <thomas.perale at mind.be> writes:

 > In reply of:
 >> Fixes https://autobuild.buildroot.net/results/9526503fe8e756bd4444f1fb1e9cf1391c461901/
 >> 
 >> mbpfan uses vsyslog(), which is not in POSIX so only exposed by <syslog.h>
 >> on musl and uclibc-ng if we define _DEFAULT_SOURCE:
 >> 
 >> https://git.musl-libc.org/cgit/musl/tree/include/syslog.h#n64
 >> https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/tree/include/sys/syslog.h#n200
 >> 
 >> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

 > Applied to 2025.02.x & 2025.05.x. Thanks

Notice that you also need commit 717138c83c857 ("package/mbpfan: fix
musl / uclibc-ng patch").

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list