[packages/wxWidgets] - more workarounds

qboosh qboosh at pld-linux.org
Sun Sep 30 10:57:02 CEST 2012


commit bc1a777fc9e673705a5a02577299db4d543ec154
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 30 10:58:17 2012 +0200

    - more workarounds

 wxWidgets-format.patch | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
---
diff --git a/wxWidgets-format.patch b/wxWidgets-format.patch
index 98b05ff..cca4c97 100644
--- a/wxWidgets-format.patch
+++ b/wxWidgets-format.patch
@@ -567,3 +567,32 @@
      return false;
    }
    m_origHostname = name;
+--- wxWidgets-2.8.12/src/common/socket.cpp.orig	2011-03-22 12:59:42.000000000 +0100
++++ wxWidgets-2.8.12/src/common/socket.cpp	2012-09-30 10:58:04.798280436 +0200
+@@ -409,7 +409,7 @@
+ 
+   if (sig != 0xfeeddead)
+   {
+-    wxLogWarning(_("wxSocket: invalid signature in ReadMsg."));
++    wxLogWarning("%s", _("wxSocket: invalid signature in ReadMsg."));
+     goto exit;
+   }
+ 
+@@ -463,7 +463,7 @@
+ 
+   if (sig != 0xdeadfeed)
+   {
+-    wxLogWarning(_("wxSocket: invalid signature in ReadMsg."));
++    wxLogWarning("%s", _("wxSocket: invalid signature in ReadMsg."));
+     goto exit;
+   }
+ 
+@@ -990,7 +990,7 @@
+     case GSOCK_CONNECTION: flag = GSOCK_CONNECTION_FLAG; break;
+     case GSOCK_LOST:       flag = GSOCK_LOST_FLAG; break;
+     default:
+-      wxLogWarning(_("wxSocket: unknown event!."));
++      wxLogWarning("%s", _("wxSocket: unknown event!."));
+       return;
+   }
+ 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list