commit:     bf0b2e923b23c009f856abe498033af6215030fb
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 09:00:03 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 09:00:03 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf0b2e92

media-sound/mp3wrap: Port to EAPI 7

Bug: https://bugs.gentoo.org/697274
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../mp3wrap-0.5-Wimplicit-function-declaration.patch    | 10 ++++++++++
 media-sound/mp3wrap/mp3wrap-0.5.ebuild                  | 17 ++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)

diff --git 
a/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch 
b/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch
new file mode 100644
index 00000000000..2398122f049
--- /dev/null
+++ b/media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/wrap.c
++++ b/wrap.c
+@@ -26,6 +26,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <strings.h>
++#include <string.h>
+ 
+ #include "wrap.h"
+ #include "mp3wrap.h"

diff --git a/media-sound/mp3wrap/mp3wrap-0.5.ebuild 
b/media-sound/mp3wrap/mp3wrap-0.5.ebuild
index eed1cd4354b..c0f1e36d268 100644
--- a/media-sound/mp3wrap/mp3wrap-0.5.ebuild
+++ b/media-sound/mp3wrap/mp3wrap-0.5.ebuild
@@ -1,23 +1,22 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
-DESCRIPTION="Command-line utility that wraps quickly two or more mp3 files in 
one single large playable mp3"
+DESCRIPTION="Command-line utility that wraps multiple mp3 files into one large 
playable mp3"
 SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
 HOMEPAGE="http://mp3wrap.sourceforge.net/";
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~ppc sparc x86"
-IUSE=""
 
-RDEPEND=""
-DEPEND=""
+PATCHES=( "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch )
 
 src_install() {
-       dobin mp3wrap || die "dobin failed"
+       dobin mp3wrap
+
        doman mp3wrap.1
-       dodoc AUTHORS ChangeLog README
-       dohtml doc/*.html
+       local HTML_DOCS=( doc/*.html )
+       einstalldocs
 }

Reply via email to