]> git.pld-linux.org Git - packages/xorg-driver-video-ati.git/commitdiff
- added patch from Gentoo with compilation fix
authorwitekfl <witekfl@pld-linux.org>
Thu, 3 Mar 2011 12:41:32 +0000 (12:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel still 2

Changed files:
    xf86-video-ati-6.14.0-xorg-server-1.10.patch -> 1.1
    xorg-driver-video-ati.spec -> 1.77

xf86-video-ati-6.14.0-xorg-server-1.10.patch [new file with mode: 0644]
xorg-driver-video-ati.spec

diff --git a/xf86-video-ati-6.14.0-xorg-server-1.10.patch b/xf86-video-ati-6.14.0-xorg-server-1.10.patch
new file mode 100644 (file)
index 0000000..5b47bc0
--- /dev/null
@@ -0,0 +1,33 @@
+From ecfdb209afe2aafc378baab8c511f5df7b000270 Mon Sep 17 00:00:00 2001
+From: Sedat Dilek <sedat.dilek@googlemail.com>
+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 <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.
+
+Reported-by: Alex Deucher <alexdeucher@gmail.com>
+CC: Keith Packard <keithp@keithp.com>
+Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
+---
+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
index 1bc9b33128a55c8556ce7779fbfad56944d8f160..034325765521925b03df0d32f016aebea1b83676 100644 (file)
@@ -7,6 +7,7 @@ License:        MIT
 Group:         X11/Applications
 Source0:       http://xorg.freedesktop.org/releases/individual/driver/xf86-video-ati-%{version}.tar.bz2
 # Source0-md5: b64bf8939f9f8fb518baf858f8b6ca73
+Patch0:                xf86-video-ati-6.14.0-xorg-server-1.10.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: Mesa-libGL-devel
 BuildRequires: autoconf >= 2.60
@@ -132,6 +133,7 @@ graficzne PCI i AGP oparte na następujących układach ATI:
 
 %prep
 %setup -q -n xf86-video-ati-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.095583 seconds and 4 git commands to generate.