aboutsummaryrefslogtreecommitdiff
path: root/audio/sphinx
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 06:47:47 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-20 06:47:47 +0000
commit8946788fab77ce5ce1208408d67c4cd5c23f7f94 (patch)
treebd68b719dc42ff2e7da375a84269a309240d371e /audio/sphinx
parent367b9a3cc77d7995290a4d949db2974d9b2c125c (diff)
downloadports-8946788fab77ce5ce1208408d67c4cd5c23f7f94.tar.gz
ports-8946788fab77ce5ce1208408d67c4cd5c23f7f94.zip
Fix compilation with recent GCC.
Reported by: pointyhat.freebsd.org Approved by: portmgr (marcus), fjoe (mentor, implicit)
Notes
Notes: svn path=/head/; revision=118300
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 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);