summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
blob: f387612522bd7624b4518b58b3224010ef0a2157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
https://bugs.gentoo.org/924057

--- a/sip/cpp/sip_corewxAppTraits.cpp
+++ b/sip/cpp/sip_corewxAppTraits.cpp
@@ -471,7 +471,11 @@
             PyErr_Clear();
 
             Py_BEGIN_ALLOW_THREADS
+	#ifdef __GLIBC__
             sipRes = new ::wxString((sipSelfWasArg ? sipCpp->::wxAppTraits::GetAssertStackTrace() : sipCpp->GetAssertStackTrace()));
+	#else
+	    sipRes = new ::wxString("");
+	#endif
             Py_END_ALLOW_THREADS
 
             if (PyErr_Occurred())