[packages/wxWidgets] - more workarounds

qboosh qboosh at pld-linux.org
Sun Sep 30 10:17:39 CEST 2012


commit feef0db8db49e0c45755eed0fe3614e9c279c26b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 10:18:55 2012 +0200

    - more workarounds

 wxWidgets-format.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 0bfbe42..350e9f0 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -480,3 +480,32 @@
  
          return false;
      }
+--- wxWidgets-2.8.12/src/common/ftp.cpp.orig	2011-03-22 12:59:41.000000000 +0100
++++ wxWidgets-2.8.12/src/common/ftp.cpp	2012-09-30 10:18:44.061662974 +0200
+@@ -628,7 +628,7 @@
+     if ( !sockSrv->WaitForAccept() )
+     {
+         m_lastError = wxPROTO_CONNERR;
+-        wxLogError(_("Timeout while waiting for FTP server to connect, try passive mode."));
++        wxLogError("%s", _("Timeout while waiting for FTP server to connect, try passive mode."));
+         delete sock;
+         sock = NULL;
+     }
+@@ -689,7 +689,7 @@
+     {
+         m_lastError = wxPROTO_PROTERR;
+         delete sockSrv;
+-        wxLogError(_("The FTP server doesn't support the PORT command."));
++        wxLogError("%s", _("The FTP server doesn't support the PORT command."));
+         return NULL;
+     }
+ 
+@@ -701,7 +701,7 @@
+ {
+     if ( !DoSimpleCommand(_T("PASV")) )
+     {
+-        wxLogError(_("The FTP server doesn't support passive mode."));
++        wxLogError("%s", _("The FTP server doesn't support passive mode."));
+         return NULL;
+     }
+ 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list