package/musl: fix conflict with riscv kernel headers
authorBaruch Siach <baruch@tkos.co.il>
Thu, 8 Aug 2019 18:38:47 +0000 (21:38 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 12 Aug 2019 21:39:49 +0000 (23:39 +0200)
commit20ab45c56c76f3d6b8525189da9e7731bc936ae2
tree95a9f03c553c69c6bb3f833e7c0b9718f0df72b4
parentadcb1bc56e7d5c99454a7098ee4d1d3d6dddacb7
package/musl: fix conflict with riscv kernel headers

Add two upstream patches fixing musl vs kernel headers conflict. This
fixes build of strace for risc64 at it happens to use headers from both
sources.

Modify patch #3 to leave a single newline in user.h. Otherwise 'patch
-E' in apply-patches.sh deletes user.h instead of leaving it empty.

Fixes (strace):
http://autobuild.buildroot.net/results/ac32e83dc5eb5ce2809fc4b9d11f540dbdae9ed6/

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/musl/0002-fix-risc64-conflict-with-kernel-headers.patch [new file with mode: 0644]
package/musl/0003-remove-riscv64-bits-user.h-contents.patch [new file with mode: 0644]