opnsense-ports/graphics/igt-gpu-tools/files/patch-lib_sw__sync.c
Franco Fichtner 7eba600ec9 */*: sync with upstream
Taken from: FreeBSD
2022-09-26 10:14:12 +02:00

13 lines
281 B
C

--- lib/sw_sync.c.orig 2022-08-31 20:00:01 UTC
+++ lib/sw_sync.c
@@ -41,6 +41,10 @@
#include "drmtest.h"
#include "ioctl_wrappers.h"
+#ifdef __FreeBSD__
+#define ETIME ETIMEDOUT
+#endif
+
/**
* SECTION:sw_sync
* @short_description: Software sync (fencing) support library