diff options
author | danfe <danfe@FreeBSD.org> | 2004-09-20 14:47:47 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-09-20 14:47:47 +0800 |
commit | 474a038433a523668fe656a3b887f790d3a17711 (patch) | |
tree | c19434fe7037499352aba7a3931f6f6394a7d485 | |
parent | 225069db93285cc2211d093b586dca791c9dc620 (diff) | |
download | freebsd-ports-gnome-474a038433a523668fe656a3b887f790d3a17711.tar.gz freebsd-ports-gnome-474a038433a523668fe656a3b887f790d3a17711.tar.zst freebsd-ports-gnome-474a038433a523668fe656a3b887f790d3a17711.zip |
Fix compilation with recent GCC.
Reported by: pointyhat.freebsd.org
Approved by: portmgr (marcus), fjoe (mentor, implicit)
-rw-r--r-- | audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c b/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c new file mode 100644 index 000000000000..138111ef6bc6 --- /dev/null +++ b/audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c @@ -0,0 +1,13 @@ +--- src/libsphinx2/cdcn_update.c.orig Fri Sep 17 14:17:51 2004 ++++ src/libsphinx2/cdcn_update.c Fri Sep 17 14:26:32 2004 +@@ -57,8 +57,8 @@ + float *noise, *tilt, *codebook, *prob, *variance, *corrbook; + int num_codes; + /* Multidimensional arrays, gar gar gar */ +- static float initialize (float *, int, float *, float *, float, +- float *, float *, float *, int); ++ static float initialize (float [][NUM_COEFF+1], int, float *, float *, float, ++ float [][NUM_COEFF+1], float *, float [][NUM_COEFF+1], int); + static void correction(float *, float *, float *, float *, int); + static float max_q (float *, float *, float *, float *, float *, + float *, int, float *, int); |