From: lisu Date: Sat, 27 Mar 2010 13:54:04 +0000 (+0000) Subject: - resurected and updated for 1.8 X-Git-Tag: auto/th/wesnoth-1_8-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fwesnoth.git;a=commitdiff_plain;h=cb7ed6583c934228f137fabd9f9b9f0898842f44 - resurected and updated for 1.8 Changed files: wesnoth-locale_dir.patch -> 1.3 --- diff --git a/wesnoth-locale_dir.patch b/wesnoth-locale_dir.patch new file mode 100644 index 0000000..f4eb868 --- /dev/null +++ b/wesnoth-locale_dir.patch @@ -0,0 +1,26 @@ +--- wesnoth-1.8/src/filesystem.cpp~ 2010-01-30 16:43:33.000000000 +0000 ++++ wesnoth-1.8/src/filesystem.cpp 2010-03-27 14:29:10.983114991 +0000 +@@ -288,22 +288,7 @@ + + std::string get_intl_dir() + { +-#ifdef _WIN32 +- return get_cwd() + "/translations"; +-#else +- +-#ifdef USE_INTERNAL_DATA +- return get_cwd() + "/" LOCALEDIR; +-#endif +- +-#if HAS_RELATIVE_LOCALEDIR +- std::string res = game_config::path + "/" LOCALEDIR; +-#else +- std::string res = LOCALEDIR; +-#endif +- +- return res; +-#endif ++ return "/usr/share/locale"; + } + + std::string get_screenshot_dir()