summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-10 06:54:28 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-03-10 06:54:28 +0000
commit21bc4b6ed6a0315868a4d850055160daccce7d89 (patch)
treec2fb0442190d168ff3550471ebf85858b7d223a2 /dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
parentf1d1e3f6c9dfccf03e3c89bf580d97496ad8b2de (diff)
downloadbaldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.tar.gz
baldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.tar.xz
baldeagleos-repo-21bc4b6ed6a0315868a4d850055160daccce7d89.zip
Adding metadata
Diffstat (limited to 'dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch b/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
new file mode 100644
index 000000000000..f387612522bd
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-4.2.2-no-stacktrace.patch
@@ -0,0 +1,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())