commit:     5d6cf07c8577bffb30bb412d9145781c10b02528
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Fri Apr 20 07:56:31 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Apr 20 20:00:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6cf07c

app-admin/verynice: epatch->eapply

Also removed eutils; verynice-1.1-r2 only requires epatch externally,
and verynice-1.1.-r3 doesn't require it at all.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8081

 app-admin/verynice/files/verynice-1.1-build.patch | 4 ++--
 app-admin/verynice/verynice-1.1-r2.ebuild         | 4 ++--
 app-admin/verynice/verynice-1.1-r3.ebuild         | 9 ++++-----
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/app-admin/verynice/files/verynice-1.1-build.patch 
b/app-admin/verynice/files/verynice-1.1-build.patch
index a70202b9930..3782c74a5c0 100644
--- a/app-admin/verynice/files/verynice-1.1-build.patch
+++ b/app-admin/verynice/files/verynice-1.1-build.patch
@@ -5,8 +5,8 @@ Subject: build system
 respect flags, add LDFLAGS to linker line
 fix install rules
 
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -15,13 +15,15 @@
  #    along with this program; if not, write to the Free Software
  #    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

diff --git a/app-admin/verynice/verynice-1.1-r2.ebuild 
b/app-admin/verynice/verynice-1.1-r2.ebuild
index d4536a3b895..e9dc02e399c 100644
--- a/app-admin/verynice/verynice-1.1-r2.ebuild
+++ b/app-admin/verynice/verynice-1.1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit eutils systemd toolchain-funcs
+inherit epatch systemd toolchain-funcs
 
 DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
 
HOMEPAGE="https://web.archive.org/web/2010033109/http://thermal.cnde.iastate.edu/~sdh4/verynice/";
@@ -17,7 +17,7 @@ IUSE=""
 S=${WORKDIR}/${PN}
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-build.patch
+       epatch "${FILESDIR}"/${PN}-1.1-build.patch
 }
 
 src_compile() {

diff --git a/app-admin/verynice/verynice-1.1-r3.ebuild 
b/app-admin/verynice/verynice-1.1-r3.ebuild
index b6334a5e281..7aba33fc8dc 100644
--- a/app-admin/verynice/verynice-1.1-r3.ebuild
+++ b/app-admin/verynice/verynice-1.1-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils systemd toolchain-funcs
+inherit systemd toolchain-funcs
 
 DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
 
HOMEPAGE="https://web.archive.org/web/20130621090315/http://thermal.cnde.iastate.edu/~sdh4/verynice/";
@@ -16,10 +16,9 @@ IUSE=""
 
 S=${WORKDIR}/${PN}
 
-src_prepare() {
-       default
-       epatch "${FILESDIR}"/${P}-build.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.1-build.patch
+)
 
 src_compile() {
        tc-export CC

Reply via email to