summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-02-17 21:41:45 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2010-02-17 21:41:45 +0000
commitb221afc259f1cc42a7fb4e92c41be6278bc17d8a (patch)
treebf21bc4abf77426593a4ec30be77a928feaf3766
parentRevision bump to drop -hal.patch and -hal-2.patch for stabilization. (diff)
downloadgentoo-2-b221afc259f1cc42a7fb4e92c41be6278bc17d8a.tar.gz
gentoo-2-b221afc259f1cc42a7fb4e92c41be6278bc17d8a.tar.bz2
gentoo-2-b221afc259f1cc42a7fb4e92c41be6278bc17d8a.zip
add kernel version check, bug #305595
(Portage version: 2.2_rc62/cvs/Linux x86_64)
-rw-r--r--x11-drivers/xf86-video-nouveau/ChangeLog6
-rw-r--r--x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/x11-drivers/xf86-video-nouveau/ChangeLog b/x11-drivers/xf86-video-nouveau/ChangeLog
index 9761ea49ac5e..c9148987c93b 100644
--- a/x11-drivers/xf86-video-nouveau/ChangeLog
+++ b/x11-drivers/xf86-video-nouveau/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-drivers/xf86-video-nouveau
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/ChangeLog,v 1.1 2010/02/15 21:38:01 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/ChangeLog,v 1.2 2010/02/17 21:41:45 chithanh Exp $
+
+ 17 Feb 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ xf86-video-nouveau-0.0.15_pre20100213.ebuild:
+ add kernel version check for bug #305595
*xf86-video-nouveau-0.0.15_pre20100213 (15 Feb 2010)
diff --git a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild
index b65cb2fe1601..52bd6479531d 100644
--- a/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild
+++ b/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild,v 1.1 2010/02/15 21:38:01 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-nouveau/xf86-video-nouveau-0.0.15_pre20100213.ebuild,v 1.2 2010/02/17 21:41:45 chithanh Exp $
EAPI=2
SNAPSHOT="yes"
@@ -33,6 +33,11 @@ pkg_postinst() {
ewarn "acceleration with nouveau, emerge x11-base/nouveau-drm or"
ewarn "enable CONFIG_DRM_NOUVEAU in the kernel."
fi
+ if kernel_is 2 6 33 && has_version ">=x11-libs/libdrm-2.4.18"; then
+ ewarn "Nouveau DRM in kernel 2.6.33 is API incompatible to"
+ ewarn ">=x11-libs/libdrm-2.4.18, please use x11-base/nouveau-drm"
+ ewarn "or x11-libs/libdrm-2.4.18_pre20100211 instead."
+ fi
fi
if ! has_version x11-drivers/nouveau-firmware; then
ewarn "Nouveau firmware not detected, for acceleration on NV50 (G80)"