summarylogtreecommitdiffstats
path: root/make-abicheck-non-fatal.patch
diff options
context:
space:
mode:
authorsL1pKn072020-11-06 16:15:01 +0100
committersL1pKn072020-11-06 16:15:01 +0100
commitffe0247c8900cec40ca7781a61fd5dceb3fa1a8f (patch)
tree9fc59da1515eb80d2e61cf2bc4b30841260713ef /make-abicheck-non-fatal.patch
downloadaur-ffe0247c8900cec40ca7781a61fd5dceb3fa1a8f.tar.gz
Initial commit
Diffstat (limited to 'make-abicheck-non-fatal.patch')
-rw-r--r--make-abicheck-non-fatal.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/make-abicheck-non-fatal.patch b/make-abicheck-non-fatal.patch
new file mode 100644
index 000000000000..50092e93c103
--- /dev/null
+++ b/make-abicheck-non-fatal.patch
@@ -0,0 +1,15 @@
+diff -up a/src/common/appbase.cpp.abicheck b/src/common/appbase.cpp
+--- a/src/common/appbase.cpp.abicheck 2015-03-12 17:15:18.000000000 +0100
++++ b/src/common/appbase.cpp 2015-03-12 17:15:57.000000000 +0100
+@@ -850,10 +850,7 @@ bool wxAppConsole::CheckBuildOptions(con
+ msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
+ lib.c_str(), progName.c_str(), prog.c_str());
+
+- wxLogFatalError(msg.c_str());
+-
+- // normally wxLogFatalError doesn't return
+- return false;
++ wxLogWarning(msg.c_str());
+ }
+ #undef wxCMP
+