sys-kernel/cryptodev: Remove sed script, fix comment.
authorJeroen Roovers <jer@gentoo.org>
Tue, 25 Apr 2017 12:17:44 +0000 (14:17 +0200)
committerJeroen Roovers <jer@gentoo.org>
Tue, 25 Apr 2017 12:17:44 +0000 (14:17 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

sys-kernel/cryptodev/cryptodev-1.9.ebuild
sys-kernel/cryptodev/cryptodev-9999.ebuild

index fe0c8dfebf73e546ee03360e50000af5ef4798a6..528204b81475b765166565d2ac4ef7cf2b800d0d 100644 (file)
@@ -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
index 1576432f23604d20df3988f781281c138ce7179e..f921bf666babe5b2028d983406a74364470fd292 100644 (file)
@@ -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})"