diff --git a/packages/x11/driver/xf86-video-ati/patches/xf86-video-ati-6.14.0-01-fix_build_with_xorg-server-1.10.patch b/packages/x11/driver/xf86-video-ati/patches/xf86-video-ati-6.14.0-01-fix_build_with_xorg-server-1.10.patch new file mode 100644 index 0000000000..5b47bc05a3 --- /dev/null +++ b/packages/x11/driver/xf86-video-ati/patches/xf86-video-ati-6.14.0-01-fix_build_with_xorg-server-1.10.patch @@ -0,0 +1,33 @@ +From ecfdb209afe2aafc378baab8c511f5df7b000270 Mon Sep 17 00:00:00 2001 +From: Sedat Dilek +Date: Fri, 25 Feb 2011 20:48:14 +0000 +Subject: 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 . + +Note: +The ddx needs a rebuild as the X video driver ABI changed to version 10.0. + +Reported-by: Alex Deucher +CC: Keith Packard +Signed-off-by: Sedat Dilek +--- +diff --git a/src/radeon_output.c b/src/radeon_output.c +index 15cef06..ccde346 100644 +--- a/src/radeon_output.c ++++ b/src/radeon_output.c +@@ -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 | +-- +cgit v0.8.3-6-g21f6