ports/graphics/mesa-dri/files/patch-src_intel_vulkan_anv__gem.c
Jan Beich 1545b3f4ce graphics/mesa-dri: enable Vulkan drivers
PR:		221540
Tested by:	Greg V
Approved by:	x11 (zeising)
2017-12-27 22:53:47 +00:00

14 lines
291 B
C

- Define ETIME if missing
--- src/intel/vulkan/anv_gem.c.orig 2017-10-23 13:21:18 UTC
+++ src/intel/vulkan/anv_gem.c
@@ -26,6 +26,9 @@
#include <sys/mman.h>
#include <string.h>
#include <errno.h>
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#include <unistd.h>
#include <fcntl.h>