mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
352a790d2f
QtWebKit is unmaintained and insecure with multiple remote code execution vulnerabilities - see: https://blogs.gnome.org/mcatanzaro/2022/11/04/stop-using-qtwebkit/
19 lines
508 B
Diff
19 lines
508 B
Diff
--- a/Source/JavaScriptCore/jit/ThunkGenerators.cpp
|
|
+++ b/Source/JavaScriptCore/jit/ThunkGenerators.cpp
|
|
@@ -652,6 +652,15 @@
|
|
static MathThunk UnaryDoubleOpWrapper(function) = &function##Thunk;
|
|
|
|
#elif CPU(X86) && COMPILER(GCC_OR_CLANG) && OS(LINUX) && defined(__PIC__)
|
|
+#ifdef __ANDROID__
|
|
+asm(
|
|
+ ".text\n"
|
|
+ "__x86.get_pc_thunk.bx:\n"
|
|
+ " movl (%esp), %ebx\n"
|
|
+ " ret\n"
|
|
+ ".previous\n"
|
|
+);
|
|
+#endif
|
|
#define defineUnaryDoubleOpWrapper(function) \
|
|
asm( \
|
|
".text\n" \
|