Bug 74447

Summary: A WyabdcRealPeopleTTS patch for textproc/stardict2
Product: Ports & Packages Reporter: statue <statue>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description statue 2004-11-27 14:10:26 UTC
A WyabdcRealPeopleTTS patch for textproc/stardict2.
Comment 1 statue 2004-11-27 14:39:44 UTC
diff -ruN stardict2.orig/files/patch-src::readword.cpp stardict2/files/patch-src::readword.cpp
--- stardict2.orig/files/patch-src::readword.cpp	Thu Jan  1 08:00:00 1970
+++ stardict2/files/patch-src::readword.cpp	Sat Nov 27 22:36:28 2004
@@ -0,0 +1,29 @@
+--- src/readword.cpp.orig	Sat Nov 27 22:35:44 2004
++++ src/readword.cpp	Sat Nov 27 22:36:00 2004
+@@ -18,7 +18,7 @@
+ 	have_data_file = g_file_test(filename, G_FILE_TEST_EXISTS);
+ 	g_free(filename);
+ #else
+-	have_data_file = g_file_test("/usr/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
++	have_data_file = g_file_test("/usr/local/share/WyabdcRealPeopleTTS", G_FILE_TEST_EXISTS);
+ #endif
+ }
+ 
+@@ -34,7 +34,7 @@
+ #ifdef _WIN32
+ 		gchar *filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
+ #else
+-		gchar *filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
++		gchar *filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
+ #endif
+ 		return_val = g_file_test(filename, G_FILE_TEST_EXISTS);
+ 		g_free(filename);
+@@ -56,7 +56,7 @@
+ 		filename = g_strdup_printf("%s/WyabdcRealPeopleTTS/%c/%s.wav", stardict_data_dir, lowerword[0],lowerword);
+ 		PlaySound(filename, 0, SND_ASYNC | SND_FILENAME);
+ #else
+-		filename = g_strdup_printf("/usr/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
++		filename = g_strdup_printf("/usr/local/share/WyabdcRealPeopleTTS/%c/%s.wav", lowerword[0],lowerword);		
+ 		gnome_sound_play(filename);
+ #endif
+ 		g_free(filename);
Comment 2 Jason Li 2004-11-27 15:48:41 UTC
Hmm... I think I have missed your PR and (unnecessarily) submitted a new PR as 74449.
The difference between the two is that I have bumped PORTREVISION.

Thanks for the excellent work :-)

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.
Comment 3 Cheng-Lung Sung freebsd_committer freebsd_triage 2004-12-06 09:57:06 UTC
State Changed
From-To: open->closed

per submitter's request (ports/74714)