--- iscsitarget-0.4.16.ebuild.orig 2008-06-17 09:56:25 +0000 +++ iscsitarget-0.4.16.ebuild 2008-06-17 11:00:48 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/iscsitarget-0.4.16.ebuild,v 1.1 2008/06/14 08:18:53 flameeyes Exp $ -inherit linux-mod eutils flag-o-matic +inherit linux-mod linux-info eutils flag-o-matic DESCRIPTION="Open Source iSCSI target with professional features" HOMEPAGE="http://iscsitarget.sourceforge.net/" @@ -25,6 +25,9 @@ epatch "${FILESDIR}"/${PN}-0.4.15-isns-set-scn-flag.patch #180619 epatch "${FILESDIR}"/${PN}-0.4.15-build.patch epatch "${FILESDIR}"/${P}+glibc-2.8-lists.patch + if kernel_is ge 2 6 22 && kernel_is le 2 6 23; then + epatch "${S}"/patches/compat-2.6.22-2.6.23.patch + fi convert_to_m "${S}"/Makefile }