app-accessibility/powiedz: EAPI bump and patch cleanup
authorMarty E. Plummer <hanetzer@startmail.com>
Thu, 22 Mar 2018 13:39:08 +0000 (08:39 -0500)
committerAaron Bauman <bman@gentoo.org>
Mon, 26 Mar 2018 20:19:47 +0000 (16:19 -0400)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7585

app-accessibility/powiedz/files/powiedz-1.0-dsp-handle-fix.patch [moved from app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch with 61% similarity]
app-accessibility/powiedz/powiedz-1.0-r2.ebuild

similarity index 61%
rename from app-accessibility/powiedz/files/powiedz-dsp-handle-fix.patch
rename to app-accessibility/powiedz/files/powiedz-1.0-dsp-handle-fix.patch
index f18761aff89e1d9b9c56a233d3f4aa6134639468..fb2852b61c0eb0499109aa2476a8c039472f41f8 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN aaa/powiedz/aufile.c powiedz/aufile.c
---- aaa/powiedz/aufile.c       2003-08-30 20:57:37.000000000 +0200
-+++ powiedz/aufile.c   2003-08-31 14:02:42.000000000 +0200
+--- a/aufile.c
++++ b/aufile.c
 @@ -217,8 +217,7 @@
  audio_open(int samp_rate,int disp)
  {
index 1a1157f50c2cf7a3c2448c0b00cf1f0c8b36ea03..fc5fe347bd92549f2bb6a32ef98b3feeaf983e97 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="Polish speech synthesizer based on rsynth"
 HOMEPAGE="http://kadu.net/index.php?page=download&lang=en"
@@ -16,9 +16,9 @@ IUSE=""
 
 S=${WORKDIR}/${PN}
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-dsp-handle-fix.patch
-}
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.0-dsp-handle-fix.patch
+)
 
 src_compile() {
        emake -f Makefile_plain LDLIBS="-lm" CFLAGS="${CFLAGS}" DEFS="" CC=$(tc-getCC)