packages: wesnoth/wesnoth-locale_dir.patch - resurected and updated for 1.8
lisu
lisu at pld-linux.org
Sat Mar 27 14:54:09 CET 2010
Author: lisu Date: Sat Mar 27 13:54:09 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- resurected and updated for 1.8
---- Files affected:
packages/wesnoth:
wesnoth-locale_dir.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/wesnoth/wesnoth-locale_dir.patch
diff -u /dev/null packages/wesnoth/wesnoth-locale_dir.patch:1.3
--- /dev/null Sat Mar 27 14:54:09 2010
+++ packages/wesnoth/wesnoth-locale_dir.patch Sat Mar 27 14:54:04 2010
@@ -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()
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wesnoth/wesnoth-locale_dir.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list