$OpenBSD: patch-src_core_RDebug_cpp,v 1.1 2020/08/10 17:00:50 jca Exp $

Forcefully disable the use of backtrace/backtrace_symbols which we don't
have in our libc.

Index: src/core/RDebug.cpp
--- src/core/RDebug.cpp.orig
+++ src/core/RDebug.cpp
@@ -34,7 +34,7 @@ QMap<QString, int> RDebug::counter;
 QString RDebug::prefix;
 
 void RDebug::printBacktrace(const QString& prefix) {
-#if !defined(Q_OS_WIN) && !defined(Q_OS_ANDROID)
+#if !defined(Q_OS_WIN) && !defined(Q_OS_ANDROID) && !defined(Q_OS_OPENBSD)
     void *array[20];
     size_t size;
     char **strings;
