void-packages/srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch
maxice8 9f4df5ecd0 libdrm: fix tests.
Add patch taken from Alpine Linux that fixes conflicting types
for ioctl in tests/nouveau/threaded.c

Closes #9402.
2017-11-24 22:31:19 +01:00

12 lines
226 B
Diff

--- 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;