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

13 lines
290 B
C

--- tests/syncobj_wait.c.orig 2022-08-31 20:00:01 UTC
+++ tests/syncobj_wait.c
@@ -31,6 +31,10 @@
#include <signal.h>
#include "drm.h"
+#ifdef __FreeBSD__
+#define ETIME ETIMEDOUT
+#endif
+
IGT_TEST_DESCRIPTION("Tests for the drm sync object wait API");
/* One tenth of a second */