commit: feb78db505b890a11e88f75461e796fa474364d3
parent 1ed03f9079fac5c421eb8e6249490ada93f14950
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 19 Sep 2025 13:54:36 +0200
add: patches/net-libs/webkit-gtk/webkit-gtk-2.50.0-execinfo.patch
Diffstat:
1 file changed, 30 insertions(+), 0 deletions(-)
diff --git a/patches/net-libs/webkit-gtk/webkit-gtk-2.50.0-execinfo.patch b/patches/net-libs/webkit-gtk/webkit-gtk-2.50.0-execinfo.patch
@@ -0,0 +1,30 @@
+diff --git a/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c b/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
+index 52f12cb611c..b1cafb27933 100644
+--- a/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
++++ b/Source/bmalloc/libpas/src/libpas/pas_probabilistic_guard_malloc_allocator.c
+@@ -44,8 +44,7 @@
+ #include <unistd.h>
+ #endif
+
+-/* PlayStation does not currently support the backtrace API. Android API versions < 33 don't, either. Windows does not either. */
+-#if !PAS_PLATFORM(PLAYSTATION) && (!PAS_OS(ANDROID) || __ANDROID_API__ >= 33) && !PAS_OS(WINDOWS)
++#if 0 //HAVE(BACKTRACE_SYMBOLS) || HAVE(BACKTRACE)
+ #include <execinfo.h>
+ #else
+ size_t backtrace(void** buffer, size_t size)
+diff --git a/Source/bmalloc/libpas/src/test/PGMTests.cpp b/Source/bmalloc/libpas/src/test/PGMTests.cpp
+index 0432f46ba3b..04dd1c04bf2 100644
+--- a/Source/bmalloc/libpas/src/test/PGMTests.cpp
++++ b/Source/bmalloc/libpas/src/test/PGMTests.cpp
+@@ -43,9 +43,9 @@
+ #include "pas_report_crash.h"
+ #include "pas_root.h"
+
+-#if !PAS_PLATFORM(PLAYSTATION)
++#if 0 // HAVE(BACKTRACE_SYMBOLS) || HAVE(BACKTRACE)
+ #include <execinfo.h>
+-#endif // !PAS_PLATFORM(PLAYSTATION)
++#endif
+
+ using namespace std;
+