aboutsummaryrefslogtreecommitdiffstats
path: root/community/scribus/fix-util_debug.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/scribus/fix-util_debug.cpp.patch')
-rw-r--r--community/scribus/fix-util_debug.cpp.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/scribus/fix-util_debug.cpp.patch b/community/scribus/fix-util_debug.cpp.patch
new file mode 100644
index 0000000000..c58f41529f
--- /dev/null
+++ b/community/scribus/fix-util_debug.cpp.patch
@@ -0,0 +1,19 @@
+Author: Milan P. Stanić <mps@arvanta.net>
+Date: Tue Dec 29 10:04:22 2020 +0000
+
+dirty hack to fix backtrace_symbols missing
+
+--- a/scribus/util_debug.cpp 2020-11-14 22:37:18.000000000 +0000
++++ b/scribus/util_debug.cpp 2020-12-22 13:50:51.014947500 +0000
+@@ -59,8 +59,9 @@
+ char **messages = ( char ** ) nullptr;
+ int i, trace_size = 0;
+
+- trace_size = backtrace ( trace, nFrames + 1 );
+- messages = backtrace_symbols ( trace, trace_size );
++ // trace_size = backtrace ( trace, nFrames + 1 );
++ // messages = backtrace_symbols ( trace, trace_size );
++ messages = 0;
+ if ( messages )
+ {
+ for ( i=1; i < trace_size; ++i )