void-packages/srcpkgs/wxWidgets-gtk3/patches/nonfatal-abi-check.patch

20 lines
884 B
Diff

Adapted from a prior patch which was taken from
https://github.com/archlinux/svntogit-packages/blob/71ee17d529f8e0dc5c44d2fffb0dfa69b71daa0b/repos/extra-x86_64/make-abicheck-non-fatal.patch
diff -up a/src/common/appbase.cpp b/src/common/appbase.cpp
--- a/src/common/appbase.cpp
+++ b/src/common/appbase.cpp
@@ -850,11 +850,8 @@
wxString prog = wxString::FromAscii(optionsSignature);
wxString progName = wxString::FromAscii(componentName);
- wxLogFatalError(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
+ wxLogWarning(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
lib, progName, prog);
-
- // normally wxLogFatalError doesn't return
- return false;
}
return true;