Blame SOURCES/0001-saa-Build-compatibility-with-xserver-1.20.patch

b9f9e8
From 7e5237dd08f2a469d0bc699cbcde763cc93c7407 Mon Sep 17 00:00:00 2001
b9f9e8
From: Adam Jackson <ajax@redhat.com>
b9f9e8
Date: Tue, 7 Nov 2017 15:42:59 -0500
b9f9e8
Subject: [PATCH xf86-video-vmware] saa: Build compatibility with xserver 1.20
b9f9e8
b9f9e8
fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL
b9f9e8
and we'll do the right thing.
b9f9e8
b9f9e8
Signed-off-by: Adam Jackson <ajax@redhat.com>
b9f9e8
---
b9f9e8
 saa/saa.c | 5 +++++
b9f9e8
 1 file changed, 5 insertions(+)
b9f9e8
b9f9e8
diff --git a/saa/saa.c b/saa/saa.c
b9f9e8
index be9520e..d956853 100644
b9f9e8
--- a/saa/saa.c
b9f9e8
+++ b/saa/saa.c
b9f9e8
@@ -370,6 +370,11 @@ saa_op_reads_destination(CARD8 op)
b9f9e8
     }
b9f9e8
 }
b9f9e8
 
b9f9e8
+/* compatibility with xserver >= 1.20 */
b9f9e8
+#ifndef fbGetRotatedPixmap
b9f9e8
+#define fbGetRotatedPixmap(pGC) NULL
b9f9e8
+#endif
b9f9e8
+
b9f9e8
 static void
b9f9e8
 saa_validate_gc(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
b9f9e8
 {
b9f9e8
-- 
b9f9e8
2.16.2
b9f9e8