[packages/wxWidgets] - more workarounds

qboosh qboosh at pld-linux.org
Sun Sep 30 09:12:42 CEST 2012


commit 1b84f1e667d6f3eafadb998676da27712cdcec2e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 09:13:57 2012 +0200

    - more workarounds

 wxWidgets-format.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 3d7ca77..504777d 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -107,3 +107,23 @@
          return false;
      }
  
+--- wxWidgets-2.8.12/src/common/stopwatch.cpp.orig	2011-03-22 12:59:42.000000000 +0100
++++ wxWidgets-2.8.12/src/common/stopwatch.cpp	2012-09-30 09:13:41.768410978 +0200
+@@ -228,7 +228,7 @@
+     if (( t0 != (time_t)-1 ) && ( t1 != (time_t)-1 ))
+         return (long)difftime(t1, t0) + (60 * 60 * 24 * 4);
+ 
+-    wxLogSysError(_("Failed to get the local system time"));
++    wxLogSysError("%s", _("Failed to get the local system time"));
+     return -1;
+ }
+ 
+@@ -286,7 +286,7 @@
+     }
+     else
+     {
+-        wxLogError(_("wxGetTimeOfDay failed."));
++        wxLogError("%s" _("wxGetTimeOfDay failed."));
+         return 0;
+     }
+ #elif defined(HAVE_FTIME)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/1b84f1e667d6f3eafadb998676da27712cdcec2e



More information about the pld-cvs-commit mailing list