[Buildroot] [PATCH v1] package/libdrm: fix nouveau tests compile for musl
Peter Seiderer
ps.report at gmx.net
Thu Nov 28 21:23:58 UTC 2019
Hello Thomas,
On Tue, 26 Nov 2019 23:38:47 +0100, Peter Seiderer <ps.report at gmx.net> wrote:
> Hello Thomas,
>
> On Tue, 26 Nov 2019 22:51:46 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
>
> > 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.
>
> And finally suggested upstream, see [1]...and the same for two more old ones, see [2] and [3]...
And as the way through gitlab merge requests seems to be the right one (instead
of the mailing list), re-submitted two more old buildroot patches, see [4], [5]...
Regards,
Peter
[4] https://gitlab.freedesktop.org/mesa/drm/merge_requests/31
[5] https://gitlab.freedesktop.org/mesa/drm/merge_requests/32
>
> Regards,
> Peter
>
> [1] https://gitlab.freedesktop.org/mesa/drm/merge_requests/30
> [2] https://gitlab.freedesktop.org/mesa/drm/merge_requests/27
> [3] https://gitlab.freedesktop.org/mesa/drm/merge_requests/28
>
>
> >
> > Thomas
>
More information about the buildroot
mailing list