aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scribus/fix-util_debug.cpp.patch
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-12-29 11:01:07 +0000
committerMilan P. Stanić <mps@arvanta.net>2020-12-29 18:25:52 +0000
commit86bf381bb7733a59f0ad3ff642df1a5f45090f2d (patch)
tree0d750697fb4360bc4e82b45297b5438f49b935f1 /testing/scribus/fix-util_debug.cpp.patch
parentc8322a517e72c0075d81bac674ee58419c5b7956 (diff)
testing/scribus: new aport
https://www.scribus.net/ libre desktop publishing added patch to fix backtrace_symbols missing
Diffstat (limited to 'testing/scribus/fix-util_debug.cpp.patch')
-rw-r--r--testing/scribus/fix-util_debug.cpp.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/scribus/fix-util_debug.cpp.patch b/testing/scribus/fix-util_debug.cpp.patch
new file mode 100644
index 00000000000..c58f41529f7
--- /dev/null
+++ b/testing/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 )