Fork patch from linuxserver qbittorrent

This commit is contained in:
MarkusMcNugen 2018-02-11 20:41:40 -05:00 committed by GitHub
parent 603034c433
commit 19e1364cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
patches/main.patch Normal file
View File

@ -0,0 +1,14 @@
--- src/app/main.cpp
+++ src/app/main.cpp
@@ -59,8 +59,9 @@
#ifdef Q_OS_UNIX
#include <signal.h>
-#include <execinfo.h>
-#include "stacktrace.h"
+static inline void print_stacktrace(FILE *out = stderr, unsigned int max_frames = 63) {
+ fprintf(out, "stack trace:\n N/A (%d)", max_frames);
+}
#endif // Q_OS_UNIX
#ifdef STACKTRACE_WIN