Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37044962
en ru br
ALT Linux repos
S:2.5-alt0.4
5.0: 1.96-alt6
4.1: 1.96-alt5.M41.1
4.0: 1.96-alt2.6
3.0:
+backports:1.96-alt0.M30.1

Other repositories
Upstream:1.96-beta

Group :: Sound
RPM: festival

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ch_wave-LONGEST.diff
Download


This patch allows providing "-pc LONGEST" argument in lowercase.
Bug reported by chaered: https://bugs.launchpad.net/ubuntu/+source/speech-tools/+bug/723854
Author: Sergio Oller <sergioller@gmail.com>
Forwarded: https://github.com/festvox/speech_tools/pull/6
--- a/main/ch_wave_main.cc
+++ b/main/ch_wave_main.cc
@@ -203,7 +203,7 @@ int main (int argc, char *argv[])
 		wave_info(sigload);
 	    else if (al.present("-pc"))
 	    {
-		if ((al.val("-pc") == "longest") &&
+		if ((downcase(al.val("-pc")) == "longest") &&
 		    (sig.num_samples() < sigload.num_samples()))
 		    sig.resize(sigload.num_samples());
 		else /* "first" or sig is longer */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin