]> hackdaworld.org Git - hdw-linux/hdw-linux.git/commitdiff
fixed flite package
authorhackbard <hackbard>
Sat, 24 Jul 2004 11:03:39 +0000 (11:03 +0000)
committerhackbard <hackbard>
Sat, 24 Jul 2004 11:03:39 +0000 (11:03 +0000)
doc/CHANGELOG
packages/multimedia/flite/define_const.patch [new file with mode: 0644]
packages/multimedia/flite/flite

index 0e783d1a476c0e4a067a9fa27851e5b189247bb8..3fbf33b9ca158358f065d8d6f96ea9a49e3515e0 100644 (file)
@@ -1,6 +1,6 @@
 *) 2004-07-24
 
-- fixed wine
+- fixed wine, flite (define const patch needed for flite)
 - implemented create-cvs-list function to Helper script
 - updated BUILD file
 - fixed scummvm and lprng package
diff --git a/packages/multimedia/flite/define_const.patch b/packages/multimedia/flite/define_const.patch
new file mode 100644 (file)
index 0000000..310583b
--- /dev/null
@@ -0,0 +1,10 @@
+--- ./tools/find_sts_main.c.orig       2004-07-24 11:07:35.000000000 +0200
++++ ./tools/find_sts_main.c    2004-07-24 11:44:23.000000000 +0200
+@@ -40,6 +40,7 @@
+ #include <stdio.h>
+ #include <math.h>
+ #include <string.h>
++#define const
+ #include "cst_wave.h"
+ #include "cst_track.h"
+ #include "cst_sigpr.h"
index 9a73d7a78ca81f315b47c432233c3fafeed0abc7..5ef15604824d166de24e7a9e163143d5be78b557 100644 (file)
@@ -5,11 +5,19 @@
 # [V] 1.2-release
 # [S] 3-9
 # [D] flite-1.2-release.tar.bz2 http://www.speech.cs.cmu.edu/flite/packed/flite-1.2/
+# [D] flite_lexfix.tar.gz http://fife.speech.cs.cmu.edu/flite/packed/flite-1.2/
 
 # let package decide itself!
 unset CFLAGS
 
+pre_install()  {
+       echo "applying lex fixes ..."
+       tar xvf $archdir/flite_lexfix.tar.gz --use-compress-program=gunzip
+       cp -a flite/* ./
+       rm -rf flite
+               }
+
 post_install() {
-       rm -rf $docdir && mkdir $docdir
+       rm -rf $docdir ; mkdir -p $docdir
        cp -r ./doc/[!M]* $docdir
                }