summaryrefslogtreecommitdiff
path: root/user/xf86-video-geode/randr.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 14:02:17 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-16 14:02:17 +0000
commit01418e651696b712189d4a623ab2587a6a0c1703 (patch)
treea7b59f5e900caa4be494da29f1c3d088f298e088 /user/xf86-video-geode/randr.patch
parentaf2c0befda3dc433e066f251758d5e2d36513e24 (diff)
downloadpackages-01418e651696b712189d4a623ab2587a6a0c1703.tar.gz
packages-01418e651696b712189d4a623ab2587a6a0c1703.tar.bz2
packages-01418e651696b712189d4a623ab2587a6a0c1703.tar.xz
packages-01418e651696b712189d4a623ab2587a6a0c1703.zip
user/xf86-video-geode: fix build, mark 32-bit only
Diffstat (limited to 'user/xf86-video-geode/randr.patch')
-rw-r--r--user/xf86-video-geode/randr.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/xf86-video-geode/randr.patch b/user/xf86-video-geode/randr.patch
new file mode 100644
index 000000000..9c2b34ac9
--- /dev/null
+++ b/user/xf86-video-geode/randr.patch
@@ -0,0 +1,30 @@
+From 8382e6bb0c76a8029493eae3f2d7a3dbfd0cfc12 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Mon, 5 Mar 2018 10:28:15 -0500
+Subject: gx: Fix RANDR initialization for xserver 1.20
+
+xf86DisableRandR() doesn't exist anymore, and we don't need it anyway,
+the core code will notice that we set up RANDR ourselves.
+
+Signed-off-by: Adam Jackson <ajax@redhat.com>
+---
+ src/gx_driver.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/gx_driver.c b/src/gx_driver.c
+index ab57df1..4de336e 100644
+--- a/src/gx_driver.c
++++ b/src/gx_driver.c
+@@ -1426,7 +1426,9 @@ GXScreenInit(SCREEN_INIT_ARGS_DECL)
+
+ /* Set up RandR */
+
++#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
+ xf86DisableRandR(); /* We provide our own RandR goodness */
++#endif
+
+ /* Try to set up the shadow FB for rotation */
+
+--
+cgit v1.1
+