[arch-commits] Commit in xf86-video-ati/trunk (PKGBUILD ati-fix-build-1.10.patch)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Mar 17 17:11:11 UTC 2011
Date: Thursday, March 17, 2011 @ 13:11:10
Author: andyrtr
Revision: 115290
upgpkg: xf86-video-ati 6.14.0-3
rebuilt against new Xorg-server
Added:
xf86-video-ati/trunk/ati-fix-build-1.10.patch
Modified:
xf86-video-ati/trunk/PKGBUILD
--------------------------+
PKGBUILD | 11 +++++++----
ati-fix-build-1.10.patch | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-17 17:04:43 UTC (rev 115289)
+++ PKGBUILD 2011-03-17 17:11:10 UTC (rev 115290)
@@ -4,21 +4,24 @@
pkgname=xf86-video-ati
pkgver=6.14.0
-pkgrel=2
+pkgrel=3
pkgdesc="X.org ati video driver"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=(libpciaccess libdrm udev pixman ati-dri)
makedepends=('xorg-server-devel' 'libdrm' 'xf86driproto' 'mesa')
-conflicts=('xorg-server<1.9.0')
+conflicts=('xorg-server<1.10.0')
groups=('xorg-drivers' 'xorg')
options=('!libtool')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('132a6b1ed6e03f7365659cdcf520516746a8fc27')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ ati-fix-build-1.10.patch)
+md5sums=('b64bf8939f9f8fb518baf858f8b6ca73'
+ '99b8c07957c4155da4c0edb0744710ae')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/ati-fix-build-1.10.patch
./configure --prefix=/usr --enable-dri
make
}
Added: ati-fix-build-1.10.patch
===================================================================
--- ati-fix-build-1.10.patch (rev 0)
+++ ati-fix-build-1.10.patch 2011-03-17 17:11:10 UTC (rev 115290)
@@ -0,0 +1,38 @@
+From ecfdb209afe2aafc378baab8c511f5df7b000270 Mon Sep 17 00:00:00 2001
+From: Sedat Dilek <sedat.dilek at googlemail.com>
+Date: Fri, 25 Feb 2011 21:48:14 +0100
+Subject: [PATCH] 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 at gmail.com>
+CC: Keith Packard <keithp at keithp.com>
+Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com>
+---
+ 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.1
+
+
More information about the arch-commits
mailing list