[Buildroot] [PATCH 1/2] openntpd: fix musl build with older kernel headers
Peter Korsgaard
peter at korsgaard.com
Thu Oct 5 20:17:56 UTC 2017
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
> musl provides its own SYS_getrandom definition, but not GRND_NONBLOCK.
> This breaks the build with kernel headers older than v3.17. Add a patch
> adding a local definition of GRND_NONBLOCK to fix the build.
> The getentropy_linux.c file is in upstream tarball, but not in its git
> repository. It originates form OpenBSD. For this reason the patch is
> against the tarball, but not git formatted.
FYI, I believe upstream openntpd development only supports openbsd,
similar to E.G. openssh, and the linux specific code is in
openntpd-portable:
https://github.com/openntpd-portable/openntpd-portable
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list