From 9f4df5ecd09101b0d7f90b0365e821d8b9fc557c Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 21 Nov 2017 05:33:18 -0200 Subject: [PATCH] libdrm: fix tests. Add patch taken from Alpine Linux that fixes conflicting types for ioctl in tests/nouveau/threaded.c Closes #9402. --- .../libdrm/patches/fix-noveau-threaded_c-ioctl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch diff --git a/srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch b/srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch new file mode 100644 index 00000000000..751795ca9b4 --- /dev/null +++ b/srcpkgs/libdrm/patches/fix-noveau-threaded_c-ioctl.patch @@ -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; +