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

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