aboutsummaryrefslogtreecommitdiffstats
path: root/main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-24 13:23:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-24 13:23:50 +0000
commit3c1860a4fcf76285d6e83c0ca0c002d93c776c79 (patch)
tree84b6bc8339371ac99125c7294835ea3295454bde /main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch
parentd4dc5239fb47d54d442bd13f3beb301115f0be4e (diff)
downloadaports-3c1860a4fcf76285d6e83c0ca0c002d93c776c79.tar.bz2
aports-3c1860a4fcf76285d6e83c0ca0c002d93c776c79.tar.xz
main/wxgtk2.8: fix abi check
Diffstat (limited to 'main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch')
-rw-r--r--main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch b/main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch
new file mode 100644
index 0000000000..97055ba46f
--- /dev/null
+++ b/main/wxgtk2.8/wxGTK-2.8.12-abicheck.patch
@@ -0,0 +1,15 @@
+diff -up wxGTK-2.8.12/src/common/appbase.cpp.abicheck wxGTK-2.8.12/src/common/appbase.cpp
+--- wxGTK-2.8.12/src/common/appbase.cpp.abicheck 2015-03-12 17:15:18.000000000 +0100
++++ wxGTK-2.8.12/src/common/appbase.cpp 2015-03-12 17:15:57.000000000 +0100
+@@ -424,10 +424,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
+