From 19e1364cb0f69d7dfb8839b3efa494cc3d0fa830 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 20:41:40 -0500 Subject: [PATCH] Fork patch from linuxserver qbittorrent --- patches/main.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/main.patch diff --git a/patches/main.patch b/patches/main.patch new file mode 100644 index 0000000..691c5bf --- /dev/null +++ b/patches/main.patch @@ -0,0 +1,14 @@ +--- src/app/main.cpp ++++ src/app/main.cpp +@@ -59,8 +59,9 @@ + + #ifdef Q_OS_UNIX + #include +-#include +-#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