gentoo/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
Quincy Fleming 15b4e232d1
dev-python/wxpython: add 4.2.2
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>
2025-03-10 02:41:08 +00:00

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())