- Rebase patches to apply cleanly and with -p1: * stardict-3.0.3-fix-path-for-sounds.patch * stardict-3.0.3-improve-desktop-file.patch - Drop stardict-3.0.5-enable-gtk3.patch incorporated upstream. - Add stardict-drop-autotools-gconf.patch: Drop an obsolete gconf2 macro from autotools scripts. - Miscellaneous specfile cleanups (spec-cleaner). - Hack: Build with `-fpermissive` CFLAGS to avoid innumerable `const char *` to `char *` casts due to ongoing transition to gtk3. OBS-URL: https://build.opensuse.org/package/show/Education/stardict?expand=0&rev=52
16 lines
676 B
Diff
16 lines
676 B
Diff
Index: stardict-3.0.7/dict/src/conf.cpp
|
|
===================================================================
|
|
--- stardict-3.0.7.orig/dict/src/conf.cpp
|
|
+++ stardict-3.0.7/dict/src/conf.cpp
|
|
@@ -224,8 +224,8 @@ AppConf::AppConf() :
|
|
// stores absolute and relative paths
|
|
add_entry("/apps/stardict/preferences/dictionary/tts_path", pathlist);
|
|
#else
|
|
- pathlist.push_back("/usr/share/WyabdcRealPeopleTTS");
|
|
- pathlist.push_back("/usr/share/OtdRealPeopleTTS");
|
|
+ pathlist.push_back("/usr/share/stardict/WyabdcRealPeopleTTS");
|
|
+ pathlist.push_back("/usr/share/stardict/OtdRealPeopleTTS");
|
|
add_entry("/apps/stardict/preferences/dictionary/tts_path", pathlist);
|
|
#endif
|
|
}
|