opnsense-ports/textproc/stardict3/files/patch-dict__src__conf.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

18 lines
1.2 KiB
C++

--- ./dict/src/conf.cpp.orig 2012-12-10 14:44:32.000000000 +0000
+++ ./dict/src/conf.cpp 2013-02-24 14:11:08.724362041 +0000
@@ -184,13 +184,13 @@
add_entry("/apps/stardict/preferences/dictionary/sound_play_command", std::string("play")); // absolute command
add_entry("/apps/stardict/preferences/dictionary/always_use_sound_play_command", false);
#else
- add_entry("/apps/stardict/preferences/dictionary/sound_play_command", std::string("aplay")); // absolute command
+ add_entry("/apps/stardict/preferences/dictionary/sound_play_command", std::string("play")); // absolute command
#endif
add_entry("/apps/stardict/preferences/dictionary/video_play_command", std::string("play")); // absolute command
#if defined(CONFIG_GPE)
add_entry("/apps/stardict/preferences/dictionary/url_open_command", std::string("gpe-mini-browser"));
#else
- add_entry("/apps/stardict/preferences/dictionary/url_open_command", std::string("firefox")); // absolute command
+ add_entry("/apps/stardict/preferences/dictionary/url_open_command", std::string("xdg-open")); // absolute command
#endif
#if defined(_WIN32) || defined(CONFIG_GNOME)
add_entry("/apps/stardict/preferences/dictionary/always_use_open_url_command", false);