diff options
Diffstat (limited to 'app-misc/ifp-line')
-rw-r--r-- | app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch | 8 | ||||
-rw-r--r-- | app-misc/ifp-line/ifp-line-0.3.ebuild | 11 |
2 files changed, 8 insertions, 11 deletions
diff --git a/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch b/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch index f7fe1de4b1ff..a3bf5c24b95d 100644 --- a/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch +++ b/app-misc/ifp-line/files/ifp-line-0.3-fix-warnings.patch @@ -1,5 +1,5 @@ ---- unicodehack.c.orig 2006-01-31 20:18:16.000000000 -0500 -+++ unicodehack.c 2006-01-31 20:18:39.000000000 -0500 +--- a/unicodehack.c 2006-01-31 20:18:16.000000000 -0500 ++++ b/unicodehack.c 2006-01-31 20:18:39.000000000 -0500 @@ -26,7 +26,7 @@ return -1; } @@ -18,8 +18,8 @@ iconv_t cd; int retval; ---- unicodehack.h.orig 2006-01-31 20:19:05.000000000 -0500 -+++ unicodehack.h 2006-01-31 20:19:26.000000000 -0500 +--- a/unicodehack.h 2006-01-31 20:19:05.000000000 -0500 ++++ b/unicodehack.h 2006-01-31 20:19:26.000000000 -0500 @@ -4,6 +4,6 @@ #define IFPLINE_UNICODEHACK_H diff --git a/app-misc/ifp-line/ifp-line-0.3.ebuild b/app-misc/ifp-line/ifp-line-0.3.ebuild index 0436505fbe7b..ca5f7b8af6aa 100644 --- a/app-misc/ifp-line/ifp-line-0.3.ebuild +++ b/app-misc/ifp-line/ifp-line-0.3.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils +EAPI=6 DESCRIPTION="iRiver iFP open-source driver" HOMEPAGE="http://ifp-driver.sourceforge.net/" @@ -16,17 +15,15 @@ IUSE="" RDEPEND="virtual/libusb:0" DEPEND="${RDEPEND}" -src_prepare() { - epatch "${FILESDIR}"/${P}-fix-warnings.patch -} +PATCHES=( "${FILESDIR}/${P}-fix-warnings.patch" ) src_install() { dobin ifp || die - dodoc NEWS README TIPS ChangeLog doman ifp.1 exeinto /usr/share/${PN} doexe nonroot.sh || die + default } pkg_postinst() { |