aboutsummaryrefslogtreecommitdiffstats
path: root/audio/sphinx
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2004-09-20 14:47:47 +0800
committerdanfe <danfe@FreeBSD.org>2004-09-20 14:47:47 +0800
commit474a038433a523668fe656a3b887f790d3a17711 (patch)
treec19434fe7037499352aba7a3931f6f6394a7d485 /audio/sphinx
parent225069db93285cc2211d093b586dca791c9dc620 (diff)
downloadfreebsd-ports-graphics-474a038433a523668fe656a3b887f790d3a17711.tar.gz
freebsd-ports-graphics-474a038433a523668fe656a3b887f790d3a17711.tar.zst
freebsd-ports-graphics-474a038433a523668fe656a3b887f790d3a17711.zip
Fix compilation with recent GCC.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus), fjoe (mentor, implicit)
Diffstat (limited to 'audio/sphinx')
-rw-r--r--audio/sphinx/files/patch-src_libsphinx2_cdcn_update.c13
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 00000000000..138111ef6bc
--- /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);