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:
parent
ac4ae35344
commit
9f4df5ecd0
1 changed files with 12 additions and 0 deletions
12
srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch
Normal file
12
srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch
Normal 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;
|
||||
|
Loading…
Reference in a new issue