From: Sedat Dilek Subject: [PATCH] UMS: Fix build against xserver 1.10-rc3 Date: Fri, 25 Feb 2011 21:48:14 +0100 Message-ID: <1298666894-16198-1-git-send-email-sedat.dilek@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bw0-f49.google.com (mail-bw0-f49.google.com [209.85.214.49]) by gabe.freedesktop.org (Postfix) with ESMTP id D4C199E782 for ; Fri, 25 Feb 2011 12:48:36 -0800 (PST) Received: by bwz1 with SMTP id 1so2476178bwz.36 for ; Fri, 25 Feb 2011 12:48:35 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: xorg-driver-ati@lists.x.org, xorg-devel@lists.x.org, dri-devel@lists.freedesktop.org Cc: Sedat Dilek List-Id: dri-devel@lists.freedesktop.org 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 --- src/radeon_output.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 | -- 1.7.4.1