initial import
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From 0f90e2ed52082c1e2af3b47424a6c7c5d4c0c81e Mon Sep 17 00:00:00 2001
|
||||
From: Adam Jackson <ajax@redhat.com>
|
||||
Date: Wed, 14 Mar 2018 21:49:14 +0100
|
||||
Subject: [PATCH] saa: Build compatibility with xserver 1.20
|
||||
|
||||
fbGetRotatedPixmap went away with 24bpp support, just treat it as NULL
|
||||
and we'll do the right thing.
|
||||
|
||||
Signed-off-by: Adam Jackson <ajax@redhat.com>
|
||||
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
|
||||
---
|
||||
src/common_compat.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/common_compat.h b/src/common_compat.h
|
||||
index 3cd3139..4efe350 100644
|
||||
--- a/src/common_compat.h
|
||||
+++ b/src/common_compat.h
|
||||
@@ -33,5 +33,9 @@ xf86SaveModeContents(DisplayModePtr intern, const DisplayModeRec *mode)
|
||||
}
|
||||
#endif
|
||||
|
||||
+#ifndef fbGetRotatedPixmap
|
||||
+#define fbGetRotatedPixmap(_pGC) NULL
|
||||
+#endif
|
||||
+
|
||||
#endif
|
||||
|
||||
--
|
||||
2.12.2
|
||||
|
||||
Reference in New Issue
Block a user