Your message dated Fri, 15 Jul 2005 20:17:08 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#293392: fixed in flightgear 0.9.8-2
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; 2 Feb 2005 22:15:53 +0000
>From [EMAIL PROTECTED] Wed Feb 02 14:15:53 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d052018.adsl.hansenet.de (localhost.localdomain) [80.171.52.18] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1CwSmu-0008Qu-00; Wed, 02 Feb 2005 14:15:52 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1CwSmT-0000Yd-6u; Wed, 02 Feb 2005 23:15:44 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: flightgear: FTBFS (amd64/gcc-4.0): non-local variable '<anonymous 
struct> mouse_cursor_map []' uses anonymous type
Message-Id: <[EMAIL PROTECTED]>
Date: Wed, 02 Feb 2005 23:15:44 +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: flightgear
Severity: normal
Tags: patch

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

g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src  
-I/usr/X11R6/include -I/usr/local//include   -c -o input.o `test -f input.cxx 
|| echo './'`input.cxx
input.cxx:547: error: non-local variable '<anonymous struct> mouse_cursor_map 
[]' uses anonymous type
make[3]: *** [input.o] Error 1
make[3]: Leaving directory `/flightgear-0.9.5/src/Input'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/flightgear-0.9.5/src/Input/input.cxx ./src/Input/input.cxx
--- ../tmp-orig/flightgear-0.9.5/src/Input/input.cxx    2004-07-06 
18:02:01.000000000 +0200
+++ ./src/Input/input.cxx       2005-02-02 21:05:24.047726908 +0100
@@ -541,7 +541,7 @@
 // cursors defined as textures referenced in the property tree.  This
 // list could then be eliminated. -Andy
 //
-struct {
+static struct {
   const char * name;
   int cursor;
 } mouse_cursor_map[] = {
diff -urN ../tmp-orig/flightgear-0.9.5/src/Scripting/NasalSys.cxx 
./src/Scripting/NasalSys.cxx
--- ../tmp-orig/flightgear-0.9.5/src/Scripting/NasalSys.cxx     2004-06-01 
22:48:45.000000000 +0200
+++ ./src/Scripting/NasalSys.cxx        2005-02-02 21:11:30.396847443 +0100
@@ -86,7 +86,7 @@
 
     char buf[256];
     if(!name) {
-        sprintf(buf, "[EMAIL PROTECTED]", (int)script);
+        sprintf(buf, "[EMAIL PROTECTED]", (long)script);
         name = buf;
     }
 
diff -urN ../tmp-orig/flightgear-0.9.5/src/Scripting/nasal-props.cxx 
./src/Scripting/nasal-props.cxx
--- ../tmp-orig/flightgear-0.9.5/src/Scripting/nasal-props.cxx  2004-04-05 
17:06:22.000000000 +0200
+++ ./src/Scripting/nasal-props.cxx     2005-02-02 21:11:57.606583312 +0100
@@ -213,7 +213,7 @@
     return propNodeGhostCreate(c, globals->get_props());
 }
 
-struct {
+static struct {
     naCFunction func;
     char* name;
 } propfuncs[] = {

---------------------------------------
Received: (at 293392-close) by bugs.debian.org; 16 Jul 2005 00:23:41 +0000
>From [EMAIL PROTECTED] Fri Jul 15 17:23:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1DtaSz-0000Ri-00; Fri, 15 Jul 2005 17:23:41 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DtaMe-0003o4-00; Fri, 15 Jul 2005 20:17:08 -0400
From: Ove Kaaven <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#293392: fixed in flightgear 0.9.8-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 15 Jul 2005 20:17:08 -0400
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-Level: 
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

Source: flightgear
Source-Version: 0.9.8-2

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

flightgear_0.9.8-2.diff.gz
  to pool/main/f/flightgear/flightgear_0.9.8-2.diff.gz
flightgear_0.9.8-2.dsc
  to pool/main/f/flightgear/flightgear_0.9.8-2.dsc
flightgear_0.9.8-2_i386.deb
  to pool/main/f/flightgear/flightgear_0.9.8-2_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.
Ove Kaaven <[EMAIL PROTECTED]> (supplier of updated flightgear 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, 15 Jul 2005 19:16:35 -0400
Source: flightgear
Binary: flightgear
Architecture: source i386
Version: 0.9.8-2
Distribution: unstable
Urgency: low
Maintainer: Ove Kaaven <[EMAIL PROTECTED]>
Changed-By: Ove Kaaven <[EMAIL PROTECTED]>
Description: 
 flightgear - Flight Gear Flight Simulator
Closes: 293392
Changes: 
 flightgear (0.9.8-2) unstable; urgency=low
 .
   * Applied patch for gcc-4.0/amd64 compilation. Closes: #293392.
Files: 
 3f7e0f7221ac01f76e104d1f9f2080e1 801 games extra flightgear_0.9.8-2.dsc
 6cb19d9bbb0865279d2295b5619a14d2 20502 games extra flightgear_0.9.8-2.diff.gz
 6111e1fd5d54faefbc0dde7c4946cdb1 1752954 games extra 
flightgear_0.9.8-2_i386.deb

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

iD8DBQFC2E8KA+GMa4PlEQ8RAkq5AKDSIFrdW/IB3+9SuykD7K8oM5TunwCePky/
NG+jAxju+8A67uxLCeX8Tio=
=TPZe
-----END PGP SIGNATURE-----


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

Reply via email to