Blame SOURCES/festival-1.96-kludge-etcpath-into-libarch.patch

23ca74
diff -ur festival.orig/speech_tools/main/siod_main.cc festival/speech_tools/main/siod_main.cc
23ca74
--- festival.orig/speech_tools/main/siod_main.cc	2004-09-30 08:53:36.000000000 -0400
23ca74
+++ festival/speech_tools/main/siod_main.cc	2007-03-13 00:49:35.000000000 -0400
23ca74
@@ -224,10 +224,10 @@
23ca74
 			    cons(flocons(subminor),NIL))));
23ca74
 
23ca74
     EST_Pathname etcdircommon = est_libdir;
23ca74
-    etcdircommon += "etc";
23ca74
+    etcdircommon += "etc/";
23ca74
 
23ca74
-    EST_Pathname etcdir = etcdircommon;
23ca74
-    etcdir += est_ostype;
23ca74
+    EST_Pathname etcdir = {{HORRIBLELIBARCHKLUDGE}};
23ca74
+    etcdir += "festival/etc/";
23ca74
     
23ca74
     //  Modify my PATH to include these directories
23ca74
     siod_set_lval("etc-path",cons(rintern(etcdir),
23ca74
diff -ur festival.orig/src/arch/festival/festival.cc festival/src/arch/festival/festival.cc
23ca74
--- festival.orig/src/arch/festival/festival.cc	2007-03-13 00:41:42.000000000 -0400
23ca74
+++ festival/src/arch/festival/festival.cc	2007-03-13 00:47:55.000000000 -0400
23ca74
@@ -349,10 +349,10 @@
23ca74
 	proclaim_module("mplayeraudio");
23ca74
     
23ca74
     // Add etc-dir path and machine specific directory etc/$OSTYPE
23ca74
-    char *etcdir = walloc(char,strlen(festival_libdir)+strlen("etc/")+
23ca74
-			  strlen(FTOSTYPE)+3);
23ca74
-    sprintf(etcdir,"%s/etc/%s/",festival_libdir,FTOSTYPE);
23ca74
-    char *etcdircommon = walloc(char,strlen(festival_libdir)+strlen("etc/")+3);
23ca74
+    char *etcdir = walloc(char,strlen({{HORRIBLELIBARCHKLUDGE}})+
23ca74
+			  strlen("etc/festival/")+2);
23ca74
+    sprintf(etcdir,"%s/festival/etc/",{{HORRIBLELIBARCHKLUDGE}});
23ca74
+    char *etcdircommon = walloc(char,strlen(festival_libdir)+strlen("etc/")+2);
23ca74
     sprintf(etcdircommon,"%s/etc/",festival_libdir);
23ca74
     
23ca74
     //  Modify my PATH to include these directories