aports/testing/antimicrox/no-execinfo.patch
Díaz Urbaneja Víctor Diego Alejandro (Sodomon) 1715598818 testing/antimicrox: new aport
Map keyboard buttons and mouse controls to a gamepad.
https://github.com/AntiMicroX/antimicrox
2024-06-08 21:14:08 +00:00

23 lines
504 B
Diff

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -60,8 +60,6 @@
#include <signal.h>
#include <unistd.h>
- #include <execinfo.h>
-
#ifdef WITH_X11
#include "x11extras.h"
#endif
@@ -93,9 +91,9 @@
size_t size;
// get void*'s for all entries on the stack
- size = backtrace(array, MAX_NUM);
+ size = 0;
- char **strings = backtrace_symbols(array, size);
+ char **strings = NULL;
WARN() << "Stack trace:";
for (size_t i = 0; i < size; i++)
{