[Buildroot] [PATCH v1] package/libdrm: fix nouveau tests compile for musl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Nov 26 21:51:46 UTC 2019


On Mon, 25 Nov 2019 21:55:20 +0100
Peter Seiderer <ps.report at gmx.net> wrote:

> 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 at gmx.net>
> ---
>  ...uveau-threaded-adapt-ioctl-signature.patch | 37 +++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 package/libdrm/0006-tests-nouveau-threaded-adapt-ioctl-signature.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list