diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-09-29 12:13:23 +0300 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-10-05 21:02:24 +0200 |
commit | 56b0b5134dfe9e956f4b688a6ad8f3ec3ce4ce82 (patch) | |
tree | 0c781f1d6c33ef0543d24cecd1ab489f94903f0f /support/testing/tests/toolchain/test_external.py | |
parent | 3c10ba4b1eba589096447cce9b77191dc2d8388d (diff) | |
download | buildroot-56b0b5134dfe9e956f4b688a6ad8f3ec3ce4ce82.tar.gz buildroot-56b0b5134dfe9e956f4b688a6ad8f3ec3ce4ce82.zip |
openntpd: fix musl build with older kernel headers
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 from OpenBSD. For this reason the patch is
against the tarball, but not git formatted.
Fixes:
http://autobuild.buildroot.net/results/623/6235ddc095bc1984439e7339d590b11581a3e257/
http://autobuild.buildroot.net/results/648/648e7c91edcf893fa780de9bb44c05f5f842a2e8/
http://autobuild.buildroot.net/results/7da/7da71263a6e9b780031f1f6185c760d11dfc994e/
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'support/testing/tests/toolchain/test_external.py')
0 files changed, 0 insertions, 0 deletions