For operating systems such as DragonFly BSD, ETIME may not be defined, let alone POSIX STREAMS implemented. libdrm 2.4.37 in current pkgsrc failed to compile on DragonFly BSD 3.1-DEVEL i386 and x86_64 until a patch was added to define ETIME if it was not already defined:
ETIME is not defined on DragonFly BSD, work around it.
--- intel/intel_bufmgr_gem.c.orig 2012-07-02 15:22:14.326942000 +0000
@@ -54,6 +54,9 @@
+#define ETIME ETIMEDOUT
So why are you trying to build libdrm_intel on an operating system that doesn't have Intel KMS?
(In reply to comment #1)
> So why are you trying to build libdrm_intel on an operating system that
> doesn't have Intel KMS?
FreeBSD-9.1 will have Intel KMS support and have the same problem.
Resolved by commit 7d42b49c0cf19dbb4531cd84efae51f95db2eea1, present in libdrm-2.4.41.
on Dec 06, 2016 at 02:48:51.
(provided by the Example extension).