diff options
author | Milan P. Stanić <mps@arvanta.net> | 2020-12-31 18:06:33 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2020-12-31 18:22:23 +0000 |
commit | e96911a22c8024ef34d9a072544cceca41782a65 (patch) | |
tree | 17d2dc6e2204c2984a9a6b6525ee723f3acf7dd0 /community/scribus/fix-util_debug.cpp.patch | |
parent | 4d8dd9f8687197258377623abc9c630ef6dd96f8 (diff) |
community/scribus: move from testing
Diffstat (limited to 'community/scribus/fix-util_debug.cpp.patch')
-rw-r--r-- | community/scribus/fix-util_debug.cpp.patch | 19 |
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 00000000000..c58f41529f7 --- /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 ) |