File festival-1.96.patch of Package festival
--- src/arch/festival/festival.cc
+++ src/arch/festival/festival.cc
@@ -341,8 +341,6 @@
proclaim_module("freebsd16audio");
if (linux16_supported)
proclaim_module("linux16audio");
- if (macosx_supported)
- proclaim_module("macosxaudio");
if (win32audio_supported)
proclaim_module("win32audio");
if (mplayer_supported)
--- src/modules/MultiSyn/TargetCostRescoring.cc
+++ src/modules/MultiSyn/TargetCostRescoring.cc
@@ -109,7 +109,7 @@
for( EST_Litem *li = scores.head(); li != 0; li = next(li) ){
float cand_dur = scores(li)._dur;
// cerr << scores(li)._cand->score << " ";
- scores(li)._cand->score += (mult * abs( cand_dur - meandur ) );
+ scores(li)._cand->score += (mult * abs(int( cand_dur - meandur ) ) );
// cerr << scores(li)._cand->score << endl;
}
}
--- src/modules/Text/text_modes.cc
+++ src/modules/Text/text_modes.cc
@@ -60,8 +60,8 @@
{
volatile EST_String tmpname = make_tmp_filename();
- volatile EST_String inname = get_c_string(filename);
- volatile EST_String filter;
+ EST_String inname = get_c_string(filename);
+ EST_String *filter;
volatile EST_TokenStream ts;
volatile LISP func;
jmp_buf *old_errjmp = est_errjmp;
@@ -88,8 +88,8 @@
else
{
- filter.ignore_volatile() = get_param_str("filter",params,"");
- um_apply_filter(filter.ignore_volatile(),inname.ignore_volatile(),tmpname.ignore_volatile());
+ filter->ignore_volatile() = get_param_str("filter",params,"");
+ um_apply_filter(filter->ignore_volatile(),inname.ignore_volatile(),tmpname.ignore_volatile());
if (streq("xxml",get_param_str("analysis_type",params,"")))
tts_file_xxml(strintern(tmpname.ignore_volatile()));