summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Brannon <teiresias@gentoo.org>2014-07-05 14:42:07 +0000
committerChristopher Brannon <teiresias@gentoo.org>2014-07-05 14:42:07 +0000
commitd4883c607cc43df5c9875957563c4737afc4fff9 (patch)
treea438993c4da14ef203869edc64bb9a05860e6d2e /app-accessibility/eflite
parentKeyworded on alpha, bug #499468 (diff)
downloadgentoo-2-d4883c607cc43df5c9875957563c4737afc4fff9.tar.gz
gentoo-2-d4883c607cc43df5c9875957563c4737afc4fff9.tar.bz2
gentoo-2-d4883c607cc43df5c9875957563c4737afc4fff9.zip
Fix truncation of speech with flite 1.4.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x6521e06d)
Diffstat (limited to 'app-accessibility/eflite')
-rw-r--r--app-accessibility/eflite/ChangeLog9
-rw-r--r--app-accessibility/eflite/eflite-0.4.1-r2.ebuild (renamed from app-accessibility/eflite/eflite-0.4.1-r1.ebuild)2
-rw-r--r--app-accessibility/eflite/files/eflite-0.4.1-flite14.patch12
3 files changed, 21 insertions, 2 deletions
diff --git a/app-accessibility/eflite/ChangeLog b/app-accessibility/eflite/ChangeLog
index 8cc52005ffe5..5927207c312c 100644
--- a/app-accessibility/eflite/ChangeLog
+++ b/app-accessibility/eflite/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-accessibility/eflite
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.35 2014/07/05 07:26:14 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.36 2014/07/05 14:42:07 teiresias Exp $
+
+*eflite-0.4.1-r2 (05 Jul 2014)
+
+ 05 Jul 2014; Christopher Brannon <teiresias@gentoo.org>
+ -eflite-0.4.1-r1.ebuild, +eflite-0.4.1-r2.ebuild,
+ files/eflite-0.4.1-flite14.patch:
+ Fix truncation of speech with flite 1.4.
*eflite-0.4.1-r1 (05 Jul 2014)
diff --git a/app-accessibility/eflite/eflite-0.4.1-r1.ebuild b/app-accessibility/eflite/eflite-0.4.1-r2.ebuild
index cdbecdbdae5b..9b156ae99653 100644
--- a/app-accessibility/eflite/eflite-0.4.1-r1.ebuild
+++ b/app-accessibility/eflite/eflite-0.4.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1-r1.ebuild,v 1.1 2014/07/05 07:26:14 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1-r2.ebuild,v 1.1 2014/07/05 14:42:07 teiresias Exp $
EAPI="5"
inherit autotools eutils user
diff --git a/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch b/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch
index 4628ca89cca1..cb3096d88a43 100644
--- a/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch
+++ b/app-accessibility/eflite/files/eflite-0.4.1-flite14.patch
@@ -10,3 +10,15 @@ diff -Naur eflite-0.4.1/Makefile.in eflite-0.4.1-new/Makefile.in
tone.o: tone.c
$(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
+diff -Naur eflite-0.4.1/fs.c eflite-0.4.1.new/fs.c
+--- eflite-0.4.1/fs.c 2007-01-18 16:01:09.000000000 -0800
++++ eflite-0.4.1.new/fs.c 2013-09-08 09:31:57.417262688 -0700
+@@ -523,7 +523,7 @@
+ int playlen, skip;
+ if (type == SPEECH)
+ {
+- skip = (187 * wptr->sample_rate) / speed;
++ skip = 0;
+ playlen = wptr->num_samples - (skip * 2);
+ if (playlen > 0 && playlen < 500) playlen += (skip * 2) / 3;
+ }