Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 327954 Details for
Bug 425450
media-gfx/povray-3.7.0_rc5: fails to build with boost 1.50
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make compile with boost-1.51.0
3.7.0_rc5-make-compile-with-boost-1-49.patch (text/plain), 4.19 KB, created by
Iván Atienza
on 2012-11-01 15:22:41 UTC
(
hide
)
Description:
make compile with boost-1.51.0
Filename:
MIME Type:
Creator:
Iván Atienza
Created:
2012-11-01 15:22:41 UTC
Size:
4.19 KB
patch
obsolete
>--- source/backend/scene/view.cpp 2012-02-05 21:53:55.000000000 +0100 >+++ source/backend/scene/view.cpp 2012-11-01 03:50:30.000000000 +0100 >@@ -1547,7 +1547,7 @@ > } > > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.sec += 3; > > // this will cause us to wait until the other threads are done. >--- source/base/timer.cpp 2012-02-05 21:54:15.000000000 +0100 >+++ source/base/timer.cpp 2012-11-01 03:50:19.000000000 +0100 >@@ -117,7 +117,7 @@ > POV_LONG TimerDefault::ElapsedRealTime() const > { > boost::xtime t; >- boost::xtime_get(&t, boost::TIME_UTC); >+ boost::xtime_get(&t, boost::TIME_UTC_); > POV_LONG tt = (POV_LONG)(t.sec) * (POV_LONG)(1000000000) + (POV_LONG)(t.nsec); > POV_LONG st = (POV_LONG)(realTimeStart.sec) * (POV_LONG)(1000000000) + (POV_LONG)(realTimeStart.nsec); > return ((tt - st) / (POV_LONG)(1000000)); >@@ -126,7 +126,7 @@ > POV_LONG TimerDefault::ElapsedCPUTime() const > { > boost::xtime t; >- boost::xtime_get(&t, boost::TIME_UTC); >+ boost::xtime_get(&t, boost::TIME_UTC_); > POV_LONG tt = (POV_LONG)(t.sec) * (POV_LONG)(1000000000) + (POV_LONG)(t.nsec); > POV_LONG st = (POV_LONG)(cpuTimeStart.sec) * (POV_LONG)(1000000000) + (POV_LONG)(cpuTimeStart.nsec); > return ((tt - st) / (POV_LONG)(1000000)); >@@ -139,8 +139,8 @@ > > void TimerDefault::Reset() > { >- boost::xtime_get(&realTimeStart, boost::TIME_UTC); >- boost::xtime_get(&cpuTimeStart, boost::TIME_UTC); >+ boost::xtime_get(&realTimeStart, boost::TIME_UTC_); >+ boost::xtime_get(&cpuTimeStart, boost::TIME_UTC_); > } > > } >@@ -155,7 +155,7 @@ > void Delay(unsigned int msec) > { > boost::xtime t; >- boost::xtime_get(&t, boost::TIME_UTC); >+ boost::xtime_get(&t, boost::TIME_UTC_); > POV_ULONG ns = (POV_ULONG)(t.sec) * (POV_ULONG)(1000000000) + (POV_ULONG)(t.nsec) + (POV_ULONG)(msec) * (POV_ULONG)(1000000); > t.sec = (boost::xtime::xtime_sec_t)(ns / (POV_ULONG)(1000000000)); > t.nsec = (boost::xtime::xtime_nsec_t)(ns % (POV_ULONG)(1000000000)); >--- vfe/unix/platformbase.cpp 2012-02-05 21:54:25.000000000 +0100 >+++ vfe/unix/platformbase.cpp 2012-11-01 03:50:42.000000000 +0100 >@@ -126,7 +126,7 @@ > #else > // taken from source/base/timer.cpp > boost::xtime t; >- boost::xtime_get(&t, boost::TIME_UTC); >+ boost::xtime_get(&t, boost::TIME_UTC_); > POV_ULONG ns = (POV_ULONG)(t.sec) * (POV_ULONG)(1000000000) + (POV_ULONG)(t.nsec) + (POV_ULONG)(msec) * (POV_ULONG)(1000000); > t.sec = (boost::xtime::xtime_sec_t)(ns / (POV_ULONG)(1000000000)); > t.nsec = (boost::xtime::xtime_nsec_t)(ns % (POV_ULONG)(1000000000)); >--- vfe/vfepovms.cpp 2012-02-05 21:54:26.000000000 +0100 >+++ vfe/vfepovms.cpp 2012-11-01 03:50:57.000000000 +0100 >@@ -247,7 +247,7 @@ > > // TODO: have a shorter wait but loop, and check for system shutdown > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.nsec += 50000000 ; > m_Event.timed_wait (lock, t); > >--- vfe/vfesession.cpp 2012-02-05 21:54:27.000000000 +0100 >+++ vfe/vfesession.cpp 2012-11-01 03:51:09.000000000 +0100 >@@ -967,7 +967,7 @@ > if (WaitTime > 0) > { > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.sec += WaitTime / 1000 ; > t.nsec += (WaitTime % 1000) * 1000000 ; > m_SessionEvent.timed_wait (lock, t); >@@ -1034,7 +1034,7 @@ > // we can't call pause directly since it will result in a thread context > // error. pause must be called from the context of the worker thread. > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.sec += 3 ; > m_RequestFlag = rqPauseRequest; > if (m_RequestEvent.timed_wait(lock, t) == false) >@@ -1057,7 +1057,7 @@ > // we can't call resume directly since it will result in a thread context > // error. it must be called from the context of the worker thread. > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.sec += 3 ; > m_RequestFlag = rqResumeRequest; > if (m_RequestEvent.timed_wait(lock, t) == false) >@@ -1123,7 +1123,7 @@ > m_LastError = vfeNoError; > > boost::xtime t; >- boost::xtime_get (&t, boost::TIME_UTC); >+ boost::xtime_get (&t, boost::TIME_UTC_); > t.sec += 3 ; > #ifdef _DEBUG > t.sec += 120;
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 425450
: 327954