package/libdrm: fix nouveau tests compile for musl
authorPeter Seiderer <ps.report@gmx.net>
Mon, 25 Nov 2019 20:55:20 +0000 (21:55 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Nov 2019 21:51:26 +0000 (22:51 +0100)
commit13f05cbfc0dc9bdc51ab1e0be9585afa2b9a885d
tree3f0e324f4003e7ceef0bd3ec87d5d3d3997fb14e
parent572b0e6ba22ee9070597fa8db969a6b096e56dad
package/libdrm: fix nouveau tests compile for musl

Add openembedded provided patch [2] to fix musl toolchain compile failures
because of different ioctl() signatures, (int, int, ...) vs. (int, unsigned
long, ...).

Fixes:

  ../tests/nouveau/threaded.c:39:5: error: conflicting types for 'ioctl'
  int ioctl(int fd, unsigned long request, ...)

[1] http://autobuild.buildroot.net/results/047f149a928ac2a17e25211a0a8a264ebae369ac
[2] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-graphics/drm/libdrm/musl-ioctl.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libdrm/0006-tests-nouveau-threaded-adapt-ioctl-signature.patch [new file with mode: 0644]