Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317712 Details for
Bug 425522
=app-misc/sphinx-2.0.4 fails to build with GCC 4.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to compile with gcc 4.7
sphinx-2.0.4_gcc-4.7.patch (text/plain), 1.23 KB, created by
Brennan Shacklett
on 2012-07-09 16:50:56 UTC
(
hide
)
Description:
Patch to compile with gcc 4.7
Filename:
MIME Type:
Creator:
Brennan Shacklett
Created:
2012-07-09 16:50:56 UTC
Size:
1.23 KB
patch
obsolete
>--- a/src/sphinxexpr.cpp >+++ b/src/sphinxexpr.cpp >@@ -1796,7 +1796,7 @@ public: > /// evaluate arg, return interval id > virtual int IntEval ( const CSphMatch & tMatch ) const > { >- T val = ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage >+ T val = this->ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage > ARRAY_FOREACH ( i, this->m_dValues ) // FIXME! OPTIMIZE! perform binary search here > if ( val<this->m_dValues[i] ) > return i; >@@ -1827,7 +1827,7 @@ public: > /// evaluate arg, return interval id > virtual int IntEval ( const CSphMatch & tMatch ) const > { >- T val = ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage >+ T val = this->ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage > ARRAY_FOREACH ( i, m_dTurnPoints ) > if ( val < Expr_ArgVsSet_c<T>::ExprEval ( m_dTurnPoints[i], tMatch ) ) > return i; >@@ -1873,7 +1873,7 @@ public: > /// evaluate arg, check if the value is within set > virtual int IntEval ( const CSphMatch & tMatch ) const > { >- T val = ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage >+ T val = this->ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage > return this->m_dValues.BinarySearch ( val )!=NULL; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 425522
:
317710
| 317712