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

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