aboutsummaryrefslogtreecommitdiff
path: root/games/supertuxkart/translations.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2010-05-13 00:27:16 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:27:16 +0200
commitfe1a48beec94572210a3a12dc13d95767ae4cc55 (patch)
tree9fad1e84992604a0dd36dd44048ec845261e66ed /games/supertuxkart/translations.patch
parentafac238f1e226271252b4d2b2765a210bbf82a96 (diff)
games/supertuxkart: Updated for version 0.6.2a
Diffstat (limited to 'games/supertuxkart/translations.patch')
-rw-r--r--games/supertuxkart/translations.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/supertuxkart/translations.patch b/games/supertuxkart/translations.patch
new file mode 100644
index 0000000000000..2438891bb45da
--- /dev/null
+++ b/games/supertuxkart/translations.patch
@@ -0,0 +1,16 @@
+diff -Naur supertuxkart-0.6.1a.orig/src/file_manager.cpp supertuxkart-0.6.1a/src/file_manager.cpp
+--- supertuxkart-0.6.1a.orig/src/file_manager.cpp 2009-01-29 01:30:09.000000000 +0000
++++ supertuxkart-0.6.1a/src/file_manager.cpp 2009-06-10 13:12:03.000000000 +0000
+@@ -212,7 +212,12 @@
+ //-----------------------------------------------------------------------------
+ std::string FileManager::getTranslationDir() const
+ {
++#if !defined(TRANSLATION_DIR) && !defined(__APPLE__) && !defined(WIN32)
++#define TRANSLATION_DIR "/usr/share/locale"
++ return TRANSLATION_DIR;
++#else
+ return m_root_dir+"/data/po";
++#endif
+ } // getTranslationDir
+
+ //-----------------------------------------------------------------------------