- spec file cleanup - Generate python3 bindings instead of python2. - Add use-python3.patch OBS-URL: https://build.opensuse.org/request/show/788290 OBS-URL: https://build.opensuse.org/package/show/multimedia:voice-assistant/sphinxbase?expand=0&rev=9
14 lines
444 B
Diff
14 lines
444 B
Diff
Index: src/sphinx_lmtools/sphinx_lm_eval.c
|
|
===================================================================
|
|
--- src/sphinx_lmtools/sphinx_lm_eval.c.orig
|
|
+++ src/sphinx_lmtools/sphinx_lm_eval.c
|
|
@@ -193,7 +193,7 @@ evaluate_file(ngram_model_t *lm, logmath
|
|
{
|
|
FILE *fh;
|
|
lineiter_t *litor;
|
|
- int32 nccs, noovs, nwords, lscr;
|
|
+ int32 nccs, noovs, nwords, lscr = 0;
|
|
float64 ch, log_to_log2;;
|
|
|
|
if ((fh = fopen(lsnfn, "r")) == NULL)
|