]> git.pld-linux.org Git - packages/wxWidgets.git/blame - wxWidgets-format.patch
- added format patch to allow build with -Werror=format-security
[packages/wxWidgets.git] / wxWidgets-format.patch
CommitLineData
c885e705
JB
1--- wxWidgets-2.8.12/src/common/appbase.cpp.orig 2011-03-22 12:59:40.000000000 +0100
2+++ wxWidgets-2.8.12/src/common/appbase.cpp 2012-09-30 08:02:00.981833952 +0200
3@@ -424,7 +424,7 @@
4 msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
5 lib.c_str(), progName.c_str(), prog.c_str());
6
7- wxLogFatalError(msg.c_str());
8+ wxLogFatalError("%s", msg.c_str());
9
10 // normally wxLogFatalError doesn't return
11 return false;
This page took 0.068478 seconds and 4 git commands to generate.