diff options
Diffstat (limited to 'app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch')
-rw-r--r-- | app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch b/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch new file mode 100644 index 000000000000..e0dcd54097fd --- /dev/null +++ b/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch @@ -0,0 +1,22 @@ +Darwin8 has no backtrace functionalities yet + +--- src/sphinxutils.cpp ++++ src/sphinxutils.cpp +@@ -1364,6 +1364,9 @@ + } + sphSafeInfo ( iFD, "Stack bottom = 0x%p, thread stack size = 0x%x", pMyStack, iStackSize ); + ++#ifndef SIGRETURN_FRAME_OFFSET ++ sphLogFatal ( "Cannot get stack frame pointer on this architecture" ); ++#else + while ( pMyStack && !bSafe ) + { + sphSafeInfo ( iFD, "begin of manual backtrace:" ); +@@ -1421,6 +1424,7 @@ + + break; + } ++#endif + + #if HAVE_BACKTRACE + sphSafeInfo ( iFD, "begin of system backtrace:" ); |