Skip to content

Commit

Permalink
app-accessibility/emacspeak-ss: EAPI bump and patch updates
Browse files Browse the repository at this point in the history
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: gentoo#7581
  • Loading branch information
hanetzer authored and FuzzyGophers committed Mar 27, 2018
1 parent 226f3af commit 0ac1f8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
12 changes: 8 additions & 4 deletions app-accessibility/emacspeak-ss/emacspeak-ss-1.9.1.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand All @@ -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
}

Expand Down
10 changes: 4 additions & 6 deletions app-accessibility/emacspeak-ss/files/gentoo-apollo-fix.patch
Original file line number Diff line number Diff line change
@@ -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@
Expand All @@ -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} {
Expand Down

0 comments on commit 0ac1f8c

Please sign in to comment.