[packages/wxWidgets] - more workarounds

qboosh qboosh at pld-linux.org
Sun Sep 30 20:30:08 CEST 2012


commit e9f238d5fd83b4106fece79d5312b86a64e7bc4d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 20:31:24 2012 +0200

    - more workarounds

 wxWidgets-format.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 053e527..4483790 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -1343,3 +1343,23 @@
          return false;
      }
      return true;
+--- wxWidgets-2.8.12/src/html/chm.cpp.orig	2011-03-22 12:59:44.000000000 +0100
++++ wxWidgets-2.8.12/src/html/chm.cpp	2012-09-30 20:31:12.494230355 +0200
+@@ -798,7 +798,7 @@
+ 
+     if ( GetProtocol(left) != _T("file") )
+     {
+-        wxLogError(_("CHM handler currently supports only local files!"));
++        wxLogError("%s", _("CHM handler currently supports only local files!"));
+         return NULL;
+     }
+ 
+@@ -821,7 +821,7 @@
+     if ( (index=right.Index(_T("//"))) != wxNOT_FOUND )
+     {
+         right=wxString(right.Mid(index+1));
+-        wxLogWarning(_("Link contained '//', converted to absolute link."));
++        wxLogWarning("%s", _("Link contained '//', converted to absolute link."));
+     }
+ 
+     wxFileName leftFilename = wxFileSystem::URLToFileName(left);
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list