From 22229d7f14d3c405a74c744dfa91954d3adf58dc Mon Sep 17 00:00:00 2001 From: Mirko Lindner Date: Fri, 5 Mar 2010 18:27:31 +0100 Subject: [PATCH] disable http requests Signed-off-by: Mirko Lindner --- stardict/patches/030-disable-networking.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 stardict/patches/030-disable-networking.patch diff --git a/stardict/patches/030-disable-networking.patch b/stardict/patches/030-disable-networking.patch new file mode 100644 index 0000000..344a1b1 --- /dev/null +++ b/stardict/patches/030-disable-networking.patch @@ -0,0 +1,12 @@ +diff -ruN a/src/conf.cpp b/src-b/conf.cpp +--- a/src/conf.cpp 2010-03-05 18:16:47.000000000 +0100 ++++ b/src/conf.cpp 2010-03-05 18:16:40.000000000 +0100 +@@ -56,7 +56,7 @@ + #else + add_entry("/apps/stardict/preferences/dictionary/use_custom_font", false); + #endif +- add_entry("/apps/stardict/preferences/network/enable_netdict", true); ++ add_entry("/apps/stardict/preferences/network/enable_netdict", false); + // Default stardictd server. + add_entry("/apps/stardict/preferences/network/server", std::string(_("dict.stardict.org"))); + add_entry("/apps/stardict/preferences/network/port", 2628);