Your message dated Fri, 25 Mar 2005 11:03:24 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#300864: fixed in kino 0.75-6
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Mar 2005 11:50:02 +0000
>From [EMAIL PROTECTED] Tue Mar 22 03:50:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DDhtZ-0007Ct-00; Tue, 22 Mar 2005 03:50:01 -0800
Received: from aj by localhost.localdomain with local (Exim 4.44)
        id 1DDhtX-0000Xb-Sf; Tue, 22 Mar 2005 12:49:59 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: kino: FTBFS (amd64/gcc-4.0): 'output_rate' was not declared in this 
scope
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 22 Mar 2005 12:49:59 +0100
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: kino
Severity: normal
Tags: patch

When building 'kino' on amd64 with gcc-4.0,
I get the following error:

frame.h: In member function 'void InternalAudioResample<input_t, 
output_t>::Resample(input_t*, int, int, int)':
frame.h:273: error: 'output_rate' was not declared in this scope
frame.h:274: error: 'size' was not declared in this scope
frame.h:287: error: 'output' was not declared in this scope
frame.h: In member function 'void SrcAudioResample<input_t, 
output_t>::Resample(input_t*, int, int, int)':
frame.h:326: error: 'output_rate' was not declared in this scope
frame.h:333: error: 'size' was not declared in this scope
frame.h:342: error: 'output' was not declared in this scope
frame.h:344: error: 'output' was not declared in this scope
frame.h: At global scope:
frame.h:376: warning: 'class FramePool' has virtual functions but non-virtual 
destructor
make[4]: *** [preferences.o] Error 1
make[4]: Leaving directory `/kino-0.75/src'

With the attached patch 'kino' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kino-0.75/debian/patches/00list ./debian/patches/00list
--- ../tmp-orig/kino-0.75/debian/patches/00list 2005-03-22 12:15:49.380631713 
+0100
+++ ./debian/patches/00list     2005-03-22 12:15:14.175433423 +0100
@@ -4,3 +4,5 @@
 20_64bit_cast_fix
 20_endian_types
 30_wav_endian_fixes
+40_gcc4_fix
+
diff -urN ../tmp-orig/kino-0.75/debian/patches/40_gcc4_fix.dpatch 
./debian/patches/40_gcc4_fix.dpatch
--- ../tmp-orig/kino-0.75/debian/patches/40_gcc4_fix.dpatch     1970-01-01 
01:00:00.000000000 +0100
+++ ./debian/patches/40_gcc4_fix.dpatch 2005-03-22 12:02:08.000000000 +0100
@@ -0,0 +1,67 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40_gcc4_fix.dpatch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+
[EMAIL PROTECTED]@
+
+diff -urN tmp/frame.h kino/src/frame.h
+--- tmp/frame.h        2005-03-22 11:58:40.242379000 +0100
++++ kino/src/frame.h   2005-03-22 12:00:29.323319917 +0100
+@@ -270,21 +270,21 @@
+       */
+       void Resample( input_t *input, int input_rate, int channels, int 
samples )
+       {
+-              float ratio = ( float ) output_rate / ( float ) input_rate;
+-              size = ( int ) ( ( float ) samples * ratio );
++              float ratio = ( float ) this->output_rate / ( float ) 
input_rate;
++              this->size = ( int ) ( ( float ) samples * ratio );
+ 
+               int rounding = 1 << 15;
+-              unsigned int xfactor = ( samples << 16 ) / size;
+-              unsigned int xmax = xfactor * size;
++              unsigned int xfactor = ( samples << 16 ) / this->size;
++              unsigned int xmax = xfactor * this->size;
+               unsigned int i = 0;
+               unsigned int o = 0;
+-              size *= sizeof(output_t) * channels;
++              this->size *= sizeof(output_t) * channels;
+ 
+               for ( unsigned int xft = 0; xft < xmax; xft += xfactor )
+               {
+                       i = ( ( xft + rounding ) >> 16 ) * channels;
+                       for (int c=0; c < channels; c++)
+-                              output[o+c] = input[i+c];
++                              this->output[o+c] = input[i+c];
+                       o += channels;
+               }
+ 
+@@ -323,14 +323,14 @@
+ 
+               data.data_in = input_buffer;
+               data.data_out = output_buffer;
+-              data.src_ratio = ( float ) output_rate / ( float ) input_rate;
++              data.src_ratio = ( float ) this->output_rate / ( float ) 
input_rate;
+               data.input_frames = samples;
+               data.output_frames = BUFFER_LEN / channels;
+               data.end_of_input = 0;
+               int result = src_process ( state, &data );
+               if ( result != 0 )
+                       cerr << "SRC: " << src_strerror( result ) << endl;
+-              size = data.output_frames_gen * channels * sizeof(output_t);
++              this->size = data.output_frames_gen * channels * 
sizeof(output_t);
+               for ( int i = 0; i < data.output_frames_gen * channels; ++i )
+               {
+                       float sample = output_buffer[ i ];
+@@ -339,9 +339,9 @@
+                       if ( sample < -1.0 )
+                               sample = -1.0;
+                       if ( sample >= 0 )
+-                              output[ i ] = ( long int )( 32767.0 * sample );
++                              this->output[ i ] = ( long int )( 32767.0 * 
sample );
+                       else
+-                              output[ i ] = ( long int )( 32768.0 * sample );
++                              this->output[ i ] = ( long int )( 32768.0 * 
sample );
+               }
+       }
+ 

---------------------------------------
Received: (at 300864-close) by bugs.debian.org; 25 Mar 2005 16:08:15 +0000
>From [EMAIL PROTECTED] Fri Mar 25 08:08:14 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DErM6-0006Mc-00; Fri, 25 Mar 2005 08:08:14 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DErHQ-0003g5-00; Fri, 25 Mar 2005 11:03:24 -0500
From: Daniel Kobras <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#300864: fixed in kino 0.75-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 25 Mar 2005 11:03:24 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: kino
Source-Version: 0.75-6

We believe that the bug you reported is fixed in the latest version of
kino, which is due to be installed in the Debian FTP archive:

kino_0.75-6.diff.gz
  to pool/main/k/kino/kino_0.75-6.diff.gz
kino_0.75-6.dsc
  to pool/main/k/kino/kino_0.75-6.dsc
kino_0.75-6_i386.deb
  to pool/main/k/kino/kino_0.75-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Kobras <[EMAIL PROTECTED]> (supplier of updated kino package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 25 Mar 2005 16:11:34 +0100
Source: kino
Binary: kino
Architecture: source i386
Version: 0.75-6
Distribution: unstable
Urgency: high
Maintainer: Daniel Kobras <[EMAIL PROTECTED]>
Changed-By: Daniel Kobras <[EMAIL PROTECTED]>
Description: 
 kino       - Non-linear editor for Digital Video data
Closes: 289182 300864
Changes: 
 kino (0.75-6) unstable; urgency=high
 .
   * Added patches:
     + [40_yuvdisplay_endian_fixes]
       Unroll YUV components independent of host endianness to fix Xv
       display method on big-endian machines. Closes: #289182
     + [40_gcc40_fixes]
       Fix compile errors with gcc 4.0 when dereferencing member
       variables of base classes. Closes: #300864
Files: 
 4c507f3c9f7b8cc150496aa06251765a 845 graphics extra kino_0.75-6.dsc
 3449fd1e986ce9ca78c40dde2fce2a16 26653 graphics extra kino_0.75-6.diff.gz
 054b536aca01669997848d01d0f5deea 1508204 graphics extra kino_0.75-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCRDGrpOKIA4m/fisRAvNUAKCvBKFfz+uFkS1WBBO2lb2mABL5lACfYaoj
tLgqFJsbuxd0lF6dFc26eSY=
=/4lk
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to