summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/mp3wrap/files/mp3wrap-0.5-Wimplicit-function-declaration.patch10
-rw-r--r--media-sound/mp3wrap/mp3wrap-0.5.ebuild17
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 000000000000..2398122f049a
--- /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 eed1cd4354b3..c0f1e36d268f 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
}