sys-fs/autorun: bump EAPI and drop eutils
authorAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 01:23:56 +0000 (21:23 -0400)
committerAaron Bauman <bman@gentoo.org>
Sat, 26 May 2018 02:05:01 +0000 (22:05 -0400)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-fs/autorun/autorun-3.17.ebuild
sys-fs/autorun/files/autorun-3.17-headers.patch

index 0b1869badd022af7f8898662c1f98a8f7363d1d2..3fba603c6a647989b905c4bb3592956c3ea2fdb4 100644 (file)
@@ -1,8 +1,7 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=2
-inherit eutils
+EAPI=7
 
 DESCRIPTION="auto cdrom mounter for the lazy user"
 HOMEPAGE="http://autorun.sourceforge.net/"
@@ -19,9 +18,7 @@ DEPEND="sys-devel/gettext
        app-text/xmlto
        app-text/docbook-xml-dtd:4.1.2"
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-headers.patch
-}
+PATCHES=( "${FILESDIR}/${P}-headers.patch" )
 
 src_configure() {
        export KDEDIR=/usr
@@ -31,5 +28,4 @@ src_configure() {
 
 src_install() {
        emake DESTDIR="${D}" install || die
-       dodoc AUTHORS ChangeLog NEWS README
 }
index 642f1596b7049b8b2211468896bcab61ba6befe4..4fc487d656b39ce06cb288e09acb2b9673c00621 100644 (file)
@@ -1,7 +1,7 @@
 https://bugs.gentoo.org/251684
 
---- autorun.cc
-+++ autorun.cc
+--- a/autorun.cc
++++ b/autorun.cc
 @@ -90,6 +90,8 @@ char *strchr (), *strrchr ();
  
  #include <errno.h>