diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-09-29 12:13:24 +0300 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-10-06 20:39:15 +0200 |
commit | 7adc268b58a1eea9967ed5c7a3b7b4471575d73a (patch) | |
tree | 307887b9efb6be77e8444622e321222fdec58c65 /package/python-msgpack | |
parent | da34a889d218ba5722774a769842ed08a64279ae (diff) | |
download | buildroot-7adc268b58a1eea9967ed5c7a3b7b4471575d73a.tar.gz buildroot-7adc268b58a1eea9967ed5c7a3b7b4471575d73a.zip |
libressl: 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 following defconfig reproduces the build failure:
BR2_x86_pentium_mmx=y
BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_KERNEL_HEADERS_3_12=y
BR2_PACKAGE_LIBRESSL=y
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.
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Arnout: change filename to correspond to how git creates it]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/python-msgpack')
0 files changed, 0 insertions, 0 deletions