libdrm: fix tests.

Add patch taken from Alpine Linux that fixes conflicting types
for ioctl in tests/nouveau/threaded.c

Closes #9402.
This commit is contained in:
maxice8 2017-11-21 05:33:18 -02:00 committed by Enno Boland
parent ac4ae35344
commit 9f4df5ecd0

View file

@ -0,0 +1,12 @@
--- tests/nouveau/threaded.c
+++ tests/nouveau/threaded.c
@@ -40,7 +40,7 @@
static int import_fd;
-int ioctl(int fd, unsigned long request, ...)
+int ioctl(int fd, int request, ...)
{
va_list va;
int ret;