Skip to contentSkip to conversation

UMS: Fix build against xserver 1.10-rc3

PATCH In review Sedat Dilek 2 participants 2 messages Feb 25, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UMS: Fix build against xserver 1.10-rc3

This issue was introduced due to last minute backout of RandR-1.4 in xserver 1.10-rc3.

Switch to "#ifdef RANDR_14_INTERFACE" as suggested by Keith Packard. See also <http://lists.x.org/archives/xorg-devel/2011-February/019643.html>.

Note:
The ddx needs a rebuild as the X video driver ABI changed to version 10.0.

---
 src/radeon_output.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
src/radeon_output.c +1 -1
index 15cef06..ccde346 100644
@@ -1622,7 +1622,7 @@ radeon_set_mode_for_property(xf86OutputPtr output)
 	xf86CrtcPtr crtc = output->crtc;
 
 	if (crtc->enabled) {
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0)
+#ifdef RANDR_14_INTERFACE
 	    xf86CrtcSetRec crtc_set_rec;
 
 	    crtc_set_rec.flags = (XF86CrtcSetMode |
Signature · 1 line
1.7.4.1
#1 lore raw

Pushed. thanks.
ecfdb209afe2aafc378baab8c511f5df7b000270

Quoted 37 lines · Sedat Dilek

This issue was introduced due to last minute backout of RandR-1.4 in xserver 1.10-rc3.

Switch to "#ifdef RANDR_14_INTERFACE" as suggested by Keith Packard. See also <http://lists.x.org/archives/xorg-devel/2011-February/019643.html>.

Note:
The ddx needs a rebuild as the X video driver ABI changed to version 10.0.

---
 src/radeon_output.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
src/radeon_output.c +1 -1
index 15cef06..ccde346 100644
@@ -1622,7 +1622,7 @@ radeon_set_mode_for_property(xf86OutputPtr output)
        xf86CrtcPtr crtc = output->crtc;
 
        if (crtc->enabled) {
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0)
+#ifdef RANDR_14_INTERFACE
            xf86CrtcSetRec crtc_set_rec;
 

           crtc_set_rec.flags = (XF86CrtcSetMode | --
1.7.4.1

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel