commit:     c4895cc7013e2e7ba1745a6c3b029aa08cc5587a
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Sat May 26 01:23:56 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat May 26 02:05:01 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4895cc7

sys-fs/autorun: bump EAPI and drop eutils

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-fs/autorun/autorun-3.17.ebuild              | 10 +++-------
 sys-fs/autorun/files/autorun-3.17-headers.patch |  4 ++--
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/sys-fs/autorun/autorun-3.17.ebuild 
b/sys-fs/autorun/autorun-3.17.ebuild
index 0b1869badd0..3fba603c6a6 100644
--- a/sys-fs/autorun/autorun-3.17.ebuild
+++ b/sys-fs/autorun/autorun-3.17.ebuild
@@ -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
 }

diff --git a/sys-fs/autorun/files/autorun-3.17-headers.patch 
b/sys-fs/autorun/files/autorun-3.17-headers.patch
index 642f1596b70..4fc487d656b 100644
--- a/sys-fs/autorun/files/autorun-3.17-headers.patch
+++ b/sys-fs/autorun/files/autorun-3.17-headers.patch
@@ -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>

Reply via email to