summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2009-11-08 20:12:51 +0000
committerAlex Alexander <wired@gentoo.org>2009-11-08 20:12:51 +0000
commit8c7fb8a07bce31bbe8904ab0ab3c279b98ef6961 (patch)
tree091330ed1388ff667863573880abdf7685bbb917 /sys-kernel
parentppc stable #291193 (diff)
downloadgentoo-2-8c7fb8a07bce31bbe8904ab0ab3c279b98ef6961.tar.gz
gentoo-2-8c7fb8a07bce31bbe8904ab0ab3c279b98ef6961.tar.bz2
gentoo-2-8c7fb8a07bce31bbe8904ab0ab3c279b98ef6961.zip
added USE flag for drm-next patch
(Portage version: 2.2_rc48/cvs/Linux x86_64)
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/zen-sources/ChangeLog6
-rw-r--r--sys-kernel/zen-sources/metadata.xml1
-rw-r--r--sys-kernel/zen-sources/zen-sources-2.6.31_p7.ebuild7
3 files changed, 11 insertions, 3 deletions
diff --git a/sys-kernel/zen-sources/ChangeLog b/sys-kernel/zen-sources/ChangeLog
index 96b65ad2f6de..7f74fb39ed07 100644
--- a/sys-kernel/zen-sources/ChangeLog
+++ b/sys-kernel/zen-sources/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-kernel/zen-sources
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.8 2009/11/07 04:42:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/zen-sources/ChangeLog,v 1.9 2009/11/08 20:12:51 wired Exp $
+
+ 08 Nov 2009; Alex Alexander <wired@gentoo.org>
+ zen-sources-2.6.31_p7.ebuild, metadata.xml:
+ added USE flag for drm-next patch
*zen-sources-2.6.31_p7 (07 Nov 2009)
diff --git a/sys-kernel/zen-sources/metadata.xml b/sys-kernel/zen-sources/metadata.xml
index 5c38f232abf8..b7e06c34044c 100644
--- a/sys-kernel/zen-sources/metadata.xml
+++ b/sys-kernel/zen-sources/metadata.xml
@@ -11,6 +11,7 @@
<name>Alex Alexander</name>
</maintainer>
<use>
+ <flag name="drm-next">Enable the drm-next patch</flag>
<flag name="stable">Clone stable git tree</flag>
</use>
</pkgmetadata>
diff --git a/sys-kernel/zen-sources/zen-sources-2.6.31_p7.ebuild b/sys-kernel/zen-sources/zen-sources-2.6.31_p7.ebuild
index bb5ed5e4bbf1..2c2f561efb9a 100644
--- a/sys-kernel/zen-sources/zen-sources-2.6.31_p7.ebuild
+++ b/sys-kernel/zen-sources/zen-sources-2.6.31_p7.ebuild
@@ -22,11 +22,13 @@ ZEN_PATCHSET="${PV/*_p}"
ZEN_KERNEL="${PV/_p[0-9]*}"
ZEN_KERNEL="${ZEN_KERNEL/_/-}"
ZEN_FILE="${ZEN_KERNEL}-zen${ZEN_PATCHSET}.patch${COMPRESSTYPE}"
+ZEN_DRM_FILE="${ZEN_KERNEL}-zen${ZEN_PATCHSET}-drmnext.patch"
ZEN_URI="http://downloads.zen-kernel.org/$(get_version_component_range 1-3)/${ZEN_FILE}"
-SRC_URI="${KERNEL_URI} ${ZEN_URI}"
+ZEN_DRM_URI="http://downloads.zen-kernel.org/$(get_version_component_range 1-3)/custom/${ZEN_DRM_FILE}"
+SRC_URI="${KERNEL_URI} ${ZEN_URI} drm-next? ( ${ZEN_DRM_URI} )"
KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
+IUSE="drm-next"
KV_FULL="${PVR/_p/-zen}"
S="${WORKDIR}"/linux-"${KV_FULL}"
@@ -46,6 +48,7 @@ src_unpack(){
kernel-2_src_unpack
cd "${S}"
epatch "${DISTDIR}"/"${ZEN_FILE}"
+ use drm-next && epatch "${DISTDIR}"/"${ZEN_DRM_FILE}"
}
K_EXTRAEINFO="For more info on zen-sources and details on how to report problems, see: \