packages (DEVEL): supertuxkart/supertuxkart-gettext.patch - updated for 0.7...

lisu lisu at pld-linux.org
Mon Jun 7 13:48:56 CEST 2010


Author: lisu                         Date: Mon Jun  7 11:48:56 2010 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- updated for 0.7alpha2

---- Files affected:
packages/supertuxkart:
   supertuxkart-gettext.patch (1.1 -> 1.1.2.1) 

---- Diffs:

================================================================
Index: packages/supertuxkart/supertuxkart-gettext.patch
diff -u packages/supertuxkart/supertuxkart-gettext.patch:1.1 packages/supertuxkart/supertuxkart-gettext.patch:1.1.2.1
--- packages/supertuxkart/supertuxkart-gettext.patch:1.1	Fri Jan 23 10:18:28 2009
+++ packages/supertuxkart/supertuxkart-gettext.patch	Mon Jun  7 13:48:51 2010
@@ -9,3 +9,26 @@
  
  dnl =======================================================
  dnl Add special compiler flags for SDL on certain platforms
+--- supertuxkart-0.7alpha2/src/utils/translation.cpp~	2010-01-18 23:18:36.000000000 +0100
++++ supertuxkart-0.7alpha2/src/utils/translation.cpp	2010-06-07 13:28:41.332457077 +0200
+@@ -33,6 +33,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <iostream>
++#include <libintl.h>
+ 
+ #include "irrlicht.h"
+ 
+@@ -92,12 +93,7 @@
+     #endif
+ #endif
+     
+-#if ENABLE_NLS
+     const char* original_t = gettext(original);
+-#else
+-    m_converted_string = core::stringw(original);
+-    return m_converted_string.c_str();
+-#endif
+ 
+     /*
+     std::cout << "--> original_t==original ? " << (original_t==original) << std::endl;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/supertuxkart/supertuxkart-gettext.patch?r1=1.1&r2=1.1.2.1&f=u



More information about the pld-cvs-commit mailing list