diff options
author | 2007-05-14 07:37:24 +0000 | |
---|---|---|
committer | 2007-05-14 07:37:24 +0000 | |
commit | 58d303dd31ae4ce7f50f60a4ce9985a3349051f1 (patch) | |
tree | 0c9a251809148b44b84e7ebf3e678e4251ddefd2 /sys-apps/fxload/fxload-20020411.ebuild | |
parent | Time to say goodbye... (diff) | |
download | gentoo-2-58d303dd31ae4ce7f50f60a4ce9985a3349051f1.tar.gz gentoo-2-58d303dd31ae4ce7f50f60a4ce9985a3349051f1.tar.bz2 gentoo-2-58d303dd31ae4ce7f50f60a4ce9985a3349051f1.zip |
Fix compiling with linux-headers-2.6.21, Bug #178474.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-apps/fxload/fxload-20020411.ebuild')
-rw-r--r-- | sys-apps/fxload/fxload-20020411.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/fxload/fxload-20020411.ebuild b/sys-apps/fxload/fxload-20020411.ebuild index b3c9363b6b95..7df7c30d5764 100644 --- a/sys-apps/fxload/fxload-20020411.ebuild +++ b/sys-apps/fxload/fxload-20020411.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/fxload-20020411.ebuild,v 1.19 2007/05/01 09:41:54 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/fxload-20020411.ebuild,v 1.20 2007/05/14 07:37:24 zzam Exp $ inherit eutils @@ -24,7 +24,9 @@ S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} - if has_version ">=sys-kernel/linux-headers-2.6.19"; then + if has_version ">=sys-kernel/linux-headers-2.6.21"; then + epatch ${FILESDIR}/${P}-linux-headers-2.6.21.patch + elif has_version ">=sys-kernel/linux-headers-2.6.19"; then epatch ${FILESDIR}/${P}-linux-headers-2.6.19.patch fi } |