FreeBSD Bugzilla – Attachment 48660 Details for
Bug 74447
A WyabdcRealPeopleTTS patch for textproc/stardict2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.56 KB, created by
statue
on 2004-11-27 14:10:26 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
statue
Created:
2004-11-27 14:10:26 UTC
Size:
1.56 KB
patch
obsolete
>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 21:59:16 2004 >@@ -0,0 +1,29 @@ >+--- src/readword.cpp.orig Sat Nov 27 21:57:46 2004 >++++ src/readword.cpp Sat Nov 27 21:58:37 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 74447
: 48660