app-accessibility/emacspeak-ss: EAPI bump and patch updates
authorMarty E. Plummer <hanetzer@startmail.com>
Thu, 22 Mar 2018 12:03:01 +0000 (07:03 -0500)
committerAaron Bauman <bman@gentoo.org>
Tue, 27 Mar 2018 23:35:47 +0000 (19:35 -0400)
Bump EAPI to 6, and cleanup the patch a bit. Replace eutils with
toolchain-funcs for tc-export.

Package-Manager: Portage-2.3.24, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7581

app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild
app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch

index b073c46262089e228def2d8c5c52a90e97d1875b..7eb873e8bb7669bd7c4186aff87cf08f5bd1f8c9 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
-inherit eutils
+inherit toolchain-funcs
 
 DESCRIPTION="adds support for several speech synthesizers to emacspeak"
 HOMEPAGE="http://leb.net/blinux/"
@@ -17,8 +17,12 @@ IUSE=""
 DEPEND=""
 RDEPEND=">=app-accessibility/emacspeak-18"
 
+PATCHES=(
+       "${FILESDIR}"/gentoo-apollo-fix.patch
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/gentoo-apollo-fix.patch
+       default
        tc-export CC
 }
 
index 3d8aa016453a28c98f0a0bf816e87b8a497128d8..55abe1238949a7628b78ed29bdcf6d837c5f21db 100644 (file)
@@ -1,6 +1,5 @@
-diff -Naur emacspeak-ss-1.9.1.old/Makefile.in emacspeak-ss-1.9.1/Makefile.in
---- emacspeak-ss-1.9.1.old/Makefile.in 2000-05-07 18:51:21.000000000 -0500
-+++ emacspeak-ss-1.9.1/Makefile.in     2004-04-22 18:43:20.635283200 -0500
+--- a/Makefile.in
++++ b/Makefile.in
 @@ -3,7 +3,7 @@
  man1dir=@mandir@/man1
  exec_prefix = @exec_prefix@
@@ -10,9 +9,8 @@ diff -Naur emacspeak-ss-1.9.1.old/Makefile.in emacspeak-ss-1.9.1/Makefile.in
  
  INSTALL=@INSTALL@
  VERSION=@VERSION@
-diff -Naur emacspeak-ss-1.9.1.old/apollo.in emacspeak-ss-1.9.1/apollo.in
---- emacspeak-ss-1.9.1.old/apollo.in   2000-05-07 18:27:31.000000000 -0500
-+++ emacspeak-ss-1.9.1/apollo.in       2004-04-22 18:35:09.255401085 -0500
+--- a/apollo.in
++++ b/apollo.in
 @@ -101,7 +101,7 @@
  # write the argument to the synthesizer, and return its response if any
  proc tts_ping {query} {