mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-13 00:10:04 +03:00
Bug: https://bugs.gentoo.org/923418 Bug: https://bugs.gentoo.org/924057 Closes: https://bugs.gentoo.org/909973 Signed-off-by: Quincy Fleming <quincyf467@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/39465 Signed-off-by: Sam James <sam@gentoo.org>
17 lines
471 B
Diff
17 lines
471 B
Diff
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())
|