From 3ae5d31d85b344990f2e9ea950ac406459109a1e Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 25 Apr 2017 14:17:44 +0200 Subject: [PATCH] sys-kernel/cryptodev: Remove sed script, fix comment. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- sys-kernel/cryptodev/cryptodev-1.9.ebuild | 12 +++--------- sys-kernel/cryptodev/cryptodev-9999.ebuild | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild b/sys-kernel/cryptodev/cryptodev-1.9.ebuild index fe0c8dfebf73..528204b81475 100644 --- a/sys-kernel/cryptodev/cryptodev-1.9.ebuild +++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild @@ -14,9 +14,10 @@ SLOT="0" IUSE="examples" DEPEND="virtual/linux-sources" -RDEPEND="" -#test do not compile + +#test requires that the module is already loaded RESTRICT="test" + S=${WORKDIR}/${PN}-linux-${PV} MODULE_NAMES="cryptodev(extra:${S})" @@ -38,13 +39,6 @@ pkg_setup() { export KERNEL_DIR } -src_prepare() { - default - - # get_unused_fd was removed in 3.19 - sed -i 's,get_unused_fd(),get_unused_fd_flags(0),' ioctl.c || die -} - src_install() { linux-mod_src_install if use examples ; then diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild b/sys-kernel/cryptodev/cryptodev-9999.ebuild index 1576432f2360..f921bf666bab 100644 --- a/sys-kernel/cryptodev/cryptodev-9999.ebuild +++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild @@ -22,8 +22,8 @@ SLOT="0" IUSE="examples" DEPEND="virtual/linux-sources" -RDEPEND="" -#test now compile, but need the module to run + +#test requires that the module is already loaded RESTRICT="test" MODULE_NAMES="cryptodev(extra:${S})" -- 2.26.2