From d2779aa3451766348bcd80359f46dd70454a32f1 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Jan 31 2006 05:34:48 +0000 Subject: - get gnopernicus working again. Patch from Fernando Herrera (bug 178312) - add a lot of compiler flags and random cruft to get festival to build with gcc 4.1 --- diff --git a/festival.spec b/festival.spec index 25d1a22..a53693c 100644 --- a/festival.spec +++ b/festival.spec @@ -142,14 +142,14 @@ export PATH=`pwd`/bin:$PATH pushd speech_tools %configure -make CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-error" CFLAGS="$RPM_OPT_FLAGS -fno-string-aliasing -Wno-error" +make CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0" #g++ -shared -L../../../speech_tools/lib -lestools -lestbase -leststring -ltermcap -Wl,-soname -Wl,libFestival.so.1 -Wl,--rpath -Wl,/usr/lib -o ../libFestival.so.1.4.1 * popd %configure -FTLIBDIR=%{_datadir}/festival make +FTLIBDIR=%{_datadir}/festival make CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0" mkdir DATA.TMP cd DATA.TMP @@ -166,7 +166,8 @@ tar xzf %{SOURCE212} tar xzf %{SOURCE213} cd festival/lib/dicts/cmu -make +make CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0" + cd ../../.. %install @@ -292,8 +293,10 @@ fi %changelog * Sun Jan 22 2006 Ray Strode - 1.95-5 -- get gnopernicus again. Patch from +- get gnopernicus working again. Patch from Fernando Herrera (bug 178312) +- add a lot of compiler flags and random cruft to get + festival to build with gcc 4.1 * Fri Dec 09 2005 Jesse Keating - rebuilt