[packages/wxWidgets] - more workarounds

qboosh qboosh at pld-linux.org
Sun Sep 30 21:00:23 CEST 2012


commit 75cebd429d7aaf6fdb8ada84de0ed4ca0a430e95
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 21:01:40 2012 +0200

    - more workarounds

 wxWidgets-format.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index af595ba..291ed4e 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -1394,3 +1394,23 @@
          return;
      }
      m_HandlersHash = *((wxHashTable*) first->GetData());
+--- wxWidgets-2.8.12/src/html/htmprint.cpp.orig	2011-03-22 12:59:44.000000000 +0100
++++ wxWidgets-2.8.12/src/html/htmprint.cpp	2012-09-30 21:01:26.160859220 +0200
+@@ -307,7 +307,7 @@
+ 
+     if (ff == NULL)
+     {
+-        wxLogError(htmlfile + _(": file does not exist!"));
++        wxLogError("%s", (htmlfile + _(": file does not exist!")).c_str());
+         return;
+     }
+ 
+@@ -615,7 +615,7 @@
+ {
+     if (!GetPrintData()->Ok())
+     {
+-        wxLogError(_("There was a problem during page setup: you may need to set a default printer."));
++        wxLogError("%s", _("There was a problem during page setup: you may need to set a default printer."));
+         return;
+     }
+ 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list