pmaports/main/libdrm-grate/ioctl.patch

11 lines
253 B
Diff

--- libdrm-2.4.83/tests/nouveau/threaded.c
+++ libdrm-2.4.83/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;