From: | "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-drivers/xf86-video-ati/files: xf86-video-ati-6.14.0-xorg-server-1.10.patch |
Date: | Mon, 28 Feb 2011 16:07:29 |
Message-Id: | 20110228160718.783D220054@flycatcher.gentoo.org |
1 | chithanh 11/02/28 16:07:18 |
2 | |
3 | Added: xf86-video-ati-6.14.0-xorg-server-1.10.patch |
4 | Log: |
5 | Fix building against xorg-server-1.10, patch taken from upstream git |
6 | |
7 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 x11-drivers/xf86-video-ati/files/xf86-video-ati-6.14.0-xorg-server-1.10.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-ati/files/xf86-video-ati-6.14.0-xorg-server-1.10.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-drivers/xf86-video-ati/files/xf86-video-ati-6.14.0-xorg-server-1.10.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: xf86-video-ati-6.14.0-xorg-server-1.10.patch |
16 | =================================================================== |
17 | From ecfdb209afe2aafc378baab8c511f5df7b000270 Mon Sep 17 00:00:00 2001 |
18 | From: Sedat Dilek <sedat.dilek@××××××××××.com> |
19 | Date: Fri, 25 Feb 2011 20:48:14 +0000 |
20 | Subject: UMS: Fix build against xserver 1.10-rc3 |
21 | |
22 | This issue was introduced due to last minute backout of RandR-1.4 |
23 | in xserver 1.10-rc3. |
24 | |
25 | Switch to "#ifdef RANDR_14_INTERFACE" as suggested by Keith Packard. |
26 | See also <http://lists.x.org/archives/xorg-devel/2011-February/019643.html>. |
27 | |
28 | Note: |
29 | The ddx needs a rebuild as the X video driver ABI changed to version 10.0. |
30 | |
31 | Reported-by: Alex Deucher <alexdeucher@×××××.com> |
32 | CC: Keith Packard <keithp@××××××.com> |
33 | Signed-off-by: Sedat Dilek <sedat.dilek@×××××.com> |
34 | --- |
35 | diff --git a/src/radeon_output.c b/src/radeon_output.c |
36 | index 15cef06..ccde346 100644 |
37 | --- a/src/radeon_output.c |
38 | +++ b/src/radeon_output.c |
39 | @@ -1622,7 +1622,7 @@ radeon_set_mode_for_property(xf86OutputPtr output) |
40 | xf86CrtcPtr crtc = output->crtc; |
41 | |
42 | if (crtc->enabled) { |
43 | -#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,9,99,901,0) |
44 | +#ifdef RANDR_14_INTERFACE |
45 | xf86CrtcSetRec crtc_set_rec; |
46 | |
47 | crtc_set_rec.flags = (XF86CrtcSetMode | |
48 | -- |
49 | cgit v0.8.3-6-g21f6 |