From d4f217b4334238fd9f6ee9da5d7a62467ec15108 Mon Sep 17 00:00:00 2001 From: Christian Zoffoli Date: Fri, 9 Mar 2007 14:35:01 +0000 Subject: Version bump, fixed compilation with older and newer kernels. (Portage version: 2.1.2-r9) --- sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild') diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild index c02be8865295..30a350b18c9a 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.9 2007/03/03 00:27:34 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.10 2007/03/09 14:35:01 xmerlin Exp $ inherit eutils linux-mod linux-info +CLUSTER_RELEASE="1.02.00" +MY_P="cluster-${CLUSTER_RELEASE}" CVS_RELEASE="20060713" -MY_P="cluster-${PV}" DESCRIPTION="GFS Network Block Devices module" HOMEPAGE="http://sources.redhat.com/cluster/" @@ -39,6 +40,10 @@ src_unpack() { if [ "$KV_PATCH" -ge "18" ] ; then epatch ${FILESDIR}/${PN}-remove-devfs-support.patch || die fi + + if [ "$KV_PATCH" -ge "19" ] ; then + epatch ${FILESDIR}/${PN}-1.03.00-compile-fix-kernel-post-2.6.18.patch || die + fi fi } -- cgit v1.2.3-65-gdbad