uclibc-ng-test: fix build with musl and older kernel headers
authorBaruch Siach <baruch@tkos.co.il>
Tue, 13 Mar 2018 12:54:01 +0000 (14:54 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 13 Mar 2018 21:13:26 +0000 (22:13 +0100)
commit02940d8ccf0503fb5fff83da4ed48fbafa00911d
tree0dab793e5e248882213ea34db61d184fed2f40ce
parent09378b474f916c76ef6d09cfb1b7d7dde5c10fc9
uclibc-ng-test: fix build with musl and older kernel headers

musl libc provides its own system call macros, including
preadv2/pwritev2. Having these macros defined is not enough to determine
availability of other related macros in kernel headers.

Add a patch to check these macros directly.

Fixes:
http://autobuild.buildroot.net/results/7e9/7e9945f46ef9e0f6de7e1c85b0ca1104df6c86f5/
http://autobuild.buildroot.net/results/782/782652193bb6770ae68d509b3a7087667622d627/
http://autobuild.buildroot.net/results/582/5827a724c7f24218010f4cdd24924dca457b0361/

Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/uclibc-ng-test/0001-misc-tst-syscall6-fix-build-with-musl-and-older-kenr.patch [new file with mode: 0644]