* define ETIME in libsync.h to fix build of freedreno in Mesa [1] * disable cairo tests to avoid circular dependency when cairo uses libGL [2] * add TESTS option to install test programs which are always built * build libkms on all platforms, it need not be limited to x86 * cease disabling vmwgfx, which needed patching to build PR: 219420 [2] Reported by: strejda [1], maficccc@gmail.com [2] Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D10841
14 lines
283 B
C
14 lines
283 B
C
# define ETIME as ETIMEOUT same as done in Mesa
|
|
#
|
|
--- libsync.h.orig 2017-04-14 23:29:46 UTC
|
|
+++ libsync.h
|
|
@@ -35,6 +35,9 @@
|
|
#include <sys/ioctl.h>
|
|
#include <sys/poll.h>
|
|
#include <unistd.h>
|
|
+#ifndef ETIME
|
|
+#define ETIME ETIMEDOUT
|
|
+#endif
|
|
|
|
#if defined(__cplusplus)
|
|
extern "C" {
|