File: flite-1.4-fix.patch

package info (click to toggle)
speech-dispatcher 0.7-6.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,224 kB
  • ctags: 2,250
  • sloc: ansic: 17,857; sh: 10,533; python: 1,148; lisp: 579; makefile: 333
file content (21 lines) | stat: -rw-r--r-- 1,094 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh /usr/share/dpatch/dpatch-run
## 07_flite-1.4-fix.dpatch
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix to build against flite-1.4.
## DP: Patch by Andres Mejia <mcitadel@gmail.com>.

@DPATCH@
Index: speech-dispatcher/configure.in
===================================================================
--- speech-dispatcher.orig/configure.in	2010-11-26 13:23:30.000000000 +0100
+++ speech-dispatcher/configure.in	2010-11-26 13:23:35.000000000 +0100
@@ -90,7 +90,7 @@
 AC_CHECK_LIB(flite_cmu_us_kal16,
         register_cmu_us_kal, flite_ok="true";flite_kal="-lflite_cmu_us_kal16";echo "16-bit Kal Flite voice found. Flite support enabled.", 
         	AC_CHECK_LIB(flite_cmu_us_kal,	
-        	register_cmu_us_kal, flite_ok="true";flite_libs="-lflite_cmu_us_kal";
+        	register_cmu_us_kal, flite_ok="true";flite_kal="-lflite_cmu_us_kal";
 		echo "8-bit Kal Flite voice found. Flite support enabled.", 
         	flite_ok="false"; echo "Flite libraries missing. Compiling without Flite support!",
 		-lflite_cmulex -lflite_usenglish -lflite -lm),