0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 15:26:14 +00:00
termux-packages/disabled-packages/qt5-qtwebkit/no_execinfo_header.patch
Fredrik Fornwall 352a790d2f rmpkg(x11/{qt5-qtwebkit,olivia,phantomjs,trojita,wkhtmltopdf})
QtWebKit is unmaintained and insecure with multiple remote code
execution vulnerabilities - see:
https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/
2024-10-20 12:23:45 +02:00

21 lines
860 B
Diff

--- src/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2021-05-14 19:39:34.587524906 +0000
+++ src.mod/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 2021-05-14 19:38:52.431421074 +0000
@@ -49,7 +49,7 @@
#include <wtf/Stopwatch.h>
#include <cxxabi.h>
-#if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))
+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
#include <dlfcn.h>
#include <execinfo.h>
#endif
@@ -187,7 +187,7 @@
void JSGlobalObjectInspectorController::appendAPIBacktrace(ScriptCallStack* callStack)
{
-#if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))
+#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
static const int framesToShow = 31;
static const int framesToSkip = 3; // WTFGetBacktrace, appendAPIBacktrace, reportAPIException.