diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
commit | 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /audio/sphinx/files/patch-src_libsphinx2_search.c | |
parent | textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff) |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/sphinx/files/patch-src_libsphinx2_search.c')
-rw-r--r-- | audio/sphinx/files/patch-src_libsphinx2_search.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/audio/sphinx/files/patch-src_libsphinx2_search.c b/audio/sphinx/files/patch-src_libsphinx2_search.c new file mode 100644 index 000000000000..69e5c737e849 --- /dev/null +++ b/audio/sphinx/files/patch-src_libsphinx2_search.c @@ -0,0 +1,28 @@ +--- src/libsphinx2/search.c.orig 2001-12-13 21:11:24 UTC ++++ src/libsphinx2/search.c +@@ -2236,6 +2236,9 @@ search_one_ply_fwd (void) + lm_next_frame (); + } + ++static void compute_phone_perplexity( void ); ++static search_hyp_t *fwdtree_pscr_path ( void ); ++ + void + search_finish_fwd (void) + { +@@ -2245,7 +2248,6 @@ search_finish_fwd (void) + CHAN_T *hmm, /* *thmm,*/ **acl; + /* int32 bp, bestbp, bestscore; */ + /* int32 l_scr; */ +- static void compute_phone_perplexity( void ); + + if ((CurrentFrame > 0) && (topsen_window > 1)) { + /* Wind up remaining frames */ +@@ -2306,7 +2308,6 @@ search_finish_fwd (void) + /* Get pscr-score for fwdtree recognition */ + { + search_hyp_t *pscrpath; +- static search_hyp_t *fwdtree_pscr_path ( void ); + + if (query_phone_conf ()) { + pscrpath = fwdtree_pscr_path (); |