File U_uxa-Stub-out-intel_sync_init-fini-when-not-compiled-.patch of Package xf86-video-intel.458
From 067115a51b2646538a38ba603c688233c61e23cd Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris@chris-wilson.co.uk>
Date: Mon, 15 Sep 2014 08:44:41 +0100
Subject: [PATCH] uxa: Stub out intel_sync_init|fini when not compiled in
In order to fix the build without DRI3, we need to stub out the
functions not compiled in, such as intel_sync_fini().
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
src/uxa/intel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/src/uxa/intel.h
+++ b/src/uxa/intel.h
@@ -742,7 +742,7 @@ Bool intel_sync_init(ScreenPtr screen);
void intel_sync_close(ScreenPtr screen);
#else
static inline Bool intel_sync_init(ScreenPtr screen) { return 0; }
-void intel_sync_close(ScreenPtr screen);
+static inline void intel_sync_close(ScreenPtr screen) { }
#endif
/*