1 |
grobian 11/05/29 15:31:35 |
2 |
|
3 |
Added: sphinx-2.0.1_beta-darwin8.patch |
4 |
Log: |
5 |
Fixed for and keyworded ~ppc-macos and ~x86-macos |
6 |
|
7 |
(Portage version: 2.2.01.18706-prefix/cvs/Darwin powerpc) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/sphinx/files/sphinx-2.0.1_beta-darwin8.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: sphinx-2.0.1_beta-darwin8.patch |
16 |
=================================================================== |
17 |
Darwin8 has no backtrace functionalities yet |
18 |
|
19 |
--- src/sphinxutils.cpp |
20 |
+++ src/sphinxutils.cpp |
21 |
@@ -1364,6 +1364,9 @@ |
22 |
} |
23 |
sphSafeInfo ( iFD, "Stack bottom = 0x%p, thread stack size = 0x%x", pMyStack, iStackSize ); |
24 |
|
25 |
+#ifndef SIGRETURN_FRAME_OFFSET |
26 |
+ sphLogFatal ( "Cannot get stack frame pointer on this architecture" ); |
27 |
+#else |
28 |
while ( pMyStack && !bSafe ) |
29 |
{ |
30 |
sphSafeInfo ( iFD, "begin of manual backtrace:" ); |
31 |
@@ -1421,6 +1424,7 @@ |
32 |
|
33 |
break; |
34 |
} |
35 |
+#endif |
36 |
|
37 |
#if HAVE_BACKTRACE |
38 |
sphSafeInfo ( iFD, "begin of system backtrace:" ); |