Your message dated Mon, 26 Nov 2007 12:47:48 +0100
with message-id <[EMAIL PROTECTED]>
and subject line FTBFS on mips
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: openmovieeditor
Version: 0.0.20061221-4
Tags: patch
openmovieeditor fails to build on at least mips, this seems to be a
generic issue triggered by new g++ versions. abs() expects a double
argument, but is used with a 64 bit integer. The appended patch
fixes this.
Thiemo
--- openmovieeditor-0.0.20061221/src/PortAudioPlaybackCore.cxx.old
2007-11-06 03:05:05.000000000 +0000
+++ openmovieeditor-0.0.20061221/src/PortAudioPlaybackCore.cxx 2007-11-06
03:24:08.000000000 +0000
@@ -187,7 +187,7 @@ void PortAudioPlaybackCore::flipFrame()
m_lastFrame++;
pthread_mutex_lock( &condition_mutex );
int64_t diff = m_lastFrame - m_currentFrame;
- if ( abs( diff ) > VIDEO_DRIFT_LIMIT ) {
+ if ( ::llabs( diff ) > VIDEO_DRIFT_LIMIT ) {
if ( diff > 0 ) {
while( ( m_lastFrame - m_currentFrame ) >
VIDEO_DRIFT_LIMIT && Pa_StreamActive( g_stream ) ) {
pthread_cond_wait( &condition_cond,
&condition_mutex );
--- openmovieeditor-0.0.20061221/src/JackPlaybackCore.cxx.old 2007-11-06
03:23:00.000000000 +0000
+++ openmovieeditor-0.0.20061221/src/JackPlaybackCore.cxx 2007-11-06
03:23:36.000000000 +0000
@@ -291,7 +291,7 @@ void JackPlaybackCore::play()
* possibly resulting in a backwards seek.
*/
int spin = 1000000;
- while (abs(jack_poll_frame()-m_currentFrame) > 2 && spin-- > 0
);
+ while (::llabs(jack_poll_frame()-m_currentFrame) > 2 && spin--
> 0 );
}
if (g_use_jack_transport) jack_play();
--- End Message ---
--- Begin Message ---
Thanks for your patch, upstream has the needed changed in the new version uploaded
into sid. Therefore I'm closing this bug.
--- End Message ---