summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hood <squinky86@gentoo.org>2004-04-30 02:34:36 +0000
committerJon Hood <squinky86@gentoo.org>2004-04-30 02:34:36 +0000
commitbe7ac711fd14c6029665fbd3e27a5357858ad913 (patch)
treee320672aa59f80f39692c29a2b09043c55fe778a /app-accessibility/sphinx2
parentNew upstream version. Fixes #37416. (diff)
downloadhistorical-be7ac711fd14c6029665fbd3e27a5357858ad913.tar.gz
historical-be7ac711fd14c6029665fbd3e27a5357858ad913.tar.bz2
historical-be7ac711fd14c6029665fbd3e27a5357858ad913.zip
gcc-3.4 fix
Diffstat (limited to 'app-accessibility/sphinx2')
-rw-r--r--app-accessibility/sphinx2/ChangeLog6
-rw-r--r--app-accessibility/sphinx2/Manifest5
-rw-r--r--app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch14
-rw-r--r--app-accessibility/sphinx2/sphinx2-0.4.ebuild10
4 files changed, 31 insertions, 4 deletions
diff --git a/app-accessibility/sphinx2/ChangeLog b/app-accessibility/sphinx2/ChangeLog
index a262d1552e09..8db30d8cf6bb 100644
--- a/app-accessibility/sphinx2/ChangeLog
+++ b/app-accessibility/sphinx2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-accessibility/sphinx2
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/ChangeLog,v 1.3 2004/03/17 20:54:16 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/ChangeLog,v 1.4 2004/04/30 02:34:36 squinky86 Exp $
+
+ 29 Apr 2004; Jon Hood <squinky86@gentoo.org> +files/sphinx2-gcc3.4.patch,
+ sphinx2-0.4.ebuild:
+ added gcc 3.4 fix
17 Mar 2004; David Holm <dholm@gentoo.org> sphinx2-0.4.ebuild:
Added to ~ppc.
diff --git a/app-accessibility/sphinx2/Manifest b/app-accessibility/sphinx2/Manifest
index 0510dc04b40f..3df81e9306cc 100644
--- a/app-accessibility/sphinx2/Manifest
+++ b/app-accessibility/sphinx2/Manifest
@@ -1,4 +1,5 @@
-MD5 b3f7d53033b1d58339e3cd478d435eb3 ChangeLog 818
+MD5 cd9e008f2263192f2efaf7f6c3b3bfae sphinx2-0.4.ebuild 692
+MD5 850984fd3edfc80c7c5e6900963ff447 ChangeLog 941
MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185
-MD5 5c55c1e9a0831395060e07d5d68b26cb sphinx2-0.4.ebuild 591
+MD5 5a2847b2fd0380db77d31a3111c5fdc9 files/sphinx2-gcc3.4.patch 892
MD5 661f3a7fe20835f0211d5b65728792ec files/digest-sphinx2-0.4 64
diff --git a/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch b/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch
new file mode 100644
index 000000000000..59ddace28b4c
--- /dev/null
+++ b/app-accessibility/sphinx2/files/sphinx2-gcc3.4.patch
@@ -0,0 +1,14 @@
+diff -Naur sphinx2-0.4.vanilla/src/libsphinx2/cdcn_update.c sphinx2-0.4/src/libsphinx2/cdcn_update.c
+--- sphinx2-0.4.vanilla/src/libsphinx2/cdcn_update.c 2001-12-13 21:11:20.000000000 +0000
++++ sphinx2-0.4/src/libsphinx2/cdcn_update.c 2004-04-29 21:25:43.572307112 +0000
+@@ -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 data[][], int num_frames, float *noise, float tilt[], float speech_threshold,
++ float codebook[][], float *prob, float var[][], int ncodes);
+ static void correction(float *, float *, float *, float *, int);
+ static float max_q (float *, float *, float *, float *, float *,
+ float *, int, float *, int);
diff --git a/app-accessibility/sphinx2/sphinx2-0.4.ebuild b/app-accessibility/sphinx2/sphinx2-0.4.ebuild
index b20bea4844a0..80fd5d3eecea 100644
--- a/app-accessibility/sphinx2/sphinx2-0.4.ebuild
+++ b/app-accessibility/sphinx2/sphinx2-0.4.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/sphinx2-0.4.ebuild,v 1.2 2004/03/17 20:54:16 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/sphinx2/sphinx2-0.4.ebuild,v 1.3 2004/04/30 02:34:36 squinky86 Exp $
+
+inherit eutils
DESCRIPTION="Sphinx2 - CMU Speech Recognition-engine"
HOMEPAGE="http://fife.speech.cs.cmu.edu/sphinx/"
@@ -14,6 +16,12 @@ IUSE=""
DEPEND="virtual/glibc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/sphinx2-gcc3.4.patch
+}
+
src_compile() {
econf || die
emake || die