Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345854 Details for
Bug 466312
x11-libs/wxGTK:2.8 fails to compile with gcc-4.7.2 -flto / LTO enabled - configure tests are not LTO save and deliver wrong results
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/wxGTK-2.8.12.1-setconcurrency-backport.patch
wxGTK-2.8.12.1-setconcurrency-backport.patch (text/plain), 1.13 KB, created by
cmuelle8
on 2013-04-18 03:09:33 UTC
(
hide
)
Description:
files/wxGTK-2.8.12.1-setconcurrency-backport.patch
Filename:
MIME Type:
Creator:
cmuelle8
Created:
2013-04-18 03:09:33 UTC
Size:
1.13 KB
patch
obsolete
>--- wxPython-src-2.9.4.0/src/unix/threadpsx.cpp.orig 2013-04-18 02:08:21.999609705 +0200 >+++ wxPython-src-2.9.4.0/src/unix/threadpsx.cpp 2013-04-18 02:10:15.696180346 +0200 >@@ -1047,18 +1047,23 @@ > > bool wxThread::SetConcurrency(size_t level) > { >-#ifdef HAVE_THR_SETCONCURRENCY >+#ifdef HAVE_PTHREAD_SET_CONCURRENCY >+ int rc = pthread_setconcurrency( level ); >+#elif defined(HAVE_THR_SETCONCURRENCY) > int rc = thr_setconcurrency(level); >+#else // !HAVE_THR_SETCONCURRENCY >+ // ok only for the default value >+ int rc = level == 0 ? 0 : -1; >+#endif // HAVE_THR_SETCONCURRENCY/!HAVE_THR_SETCONCURRENCY >+ > if ( rc != 0 ) > { >- wxLogSysError(rc, _T("thr_setconcurrency() failed")); >+ wxLogSysError(rc, _("Failed to set thread concurrency level to %lu"), >+ static_cast<unsigned long>(level)); >+ return false; > } > >- return rc == 0; >-#else // !HAVE_THR_SETCONCURRENCY >- // ok only for the default value >- return level == 0; >-#endif // HAVE_THR_SETCONCURRENCY/!HAVE_THR_SETCONCURRENCY >+ return true; > } > > // -----------------------------------------------------------------------------
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 466312
:
345850
|
345852
| 345854 |
345856
|
347688