From: hackbard Date: Sat, 24 Jul 2004 11:03:39 +0000 (+0000) Subject: fixed flite package X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=b116fee475d0e5539304cafb2980d21e8c3d8aa9;p=hdw-linux%2Fhdw-linux.git fixed flite package --- diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 0e783d1..3fbf33b 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -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 index 0000000..310583b --- /dev/null +++ b/packages/multimedia/flite/define_const.patch @@ -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 + #include + #include ++#define const + #include "cst_wave.h" + #include "cst_track.h" + #include "cst_sigpr.h" diff --git a/packages/multimedia/flite/flite b/packages/multimedia/flite/flite index 9a73d7a..5ef1560 100644 --- a/packages/multimedia/flite/flite +++ b/packages/multimedia/flite/flite @@ -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 }