Your message dated Mon, 15 Aug 2005 05:47:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#314686: fixed in kraptor 0.0.20040403-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; 17 Jun 2005 19:50:15 +0000
>From [EMAIL PROTECTED] Fri Jun 17 12:50:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d027074.adsl.hansenet.de (localhost.localdomain) [80.171.27.74] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DjMr1-0002bS-00; Fri, 17 Jun 2005 12:50:15 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DjMqz-0005sc-US; Fri, 17 Jun 2005 21:50:13 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: kraptor: FTBFS (amd64/gcc-4.0): invalid storage class for function 
'liberar_listas_interno'
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 17 Jun 2005 21:50:13 +0200
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=-7.2 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        REMOVE_REMOVAL_NEAR autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: kraptor
Version: 0.0.20040403-1
Severity: normal
Tags: patch

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

gcc -Iinclude -Wall -O3 -c src/game.c -o obj/linux/game.o
src/game.c: In function 'update_display':
src/game.c:341: warning: 'set_clip' is deprecated (declared at 
/usr/include/allegro/alcompat.h:219)
src/game.c:377: warning: 'text_mode' is deprecated (declared at 
/usr/include/allegro/alcompat.h:167)
src/game.c:390: warning: 'textprintf' is deprecated (declared at 
/usr/include/allegro/alcompat.h:189)
src/game.c:397: warning: 'set_clip' is deprecated (declared at 
/usr/include/allegro/alcompat.h:219)
src/game.c: In function 'comenzar_juego':
src/game.c:416: error: invalid storage class for function 
'liberar_listas_interno'
src/game.c:432: error: invalid storage class for function 'hacer_cleanup_mapeos'
src/game.c:446: error: invalid storage class for function 'pone_timers_juego'
src/game.c:460: error: invalid storage class for function 'saca_timers_juego'
make[1]: *** [obj/linux/game.o] Error 1
make[1]: Leaving directory `/kraptor-0.0.20040403'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/kraptor-0.0.20040403/include/pmask.h ./include/pmask.h
--- ../tmp-orig/kraptor-0.0.20040403/include/pmask.h    2003-02-03 
00:45:00.000000000 +0100
+++ ./include/pmask.h   2005-06-17 21:46:40.000000000 +0200
@@ -39,7 +39,7 @@
 //MASK_WORD_TYPE and MASK_WORD_BITBITS can be changed for your platform
 
 //MASK_WORD_TYPE should be the largest fast integer type available
-#define MASK_WORD_TYPE unsigned long int
+#define MASK_WORD_TYPE unsigned int
 
 //MASK_WORD_BITBITS should be the log base 2
 //of the number of bits in MASK_WORD_TYPE
diff -urN ../tmp-orig/kraptor-0.0.20040403/src/game.c ./src/game.c
--- ../tmp-orig/kraptor-0.0.20040403/src/game.c 2003-12-17 00:13:00.000000000 
+0100
+++ ./src/game.c        2005-06-17 21:42:13.000000000 +0200
@@ -412,7 +412,7 @@
 void comenzar_juego(int load_savegame)
 {
   /* funcion interna que libera listas enlazadas */
-  static void liberar_listas_interno()
+  void liberar_listas_interno()
   {
       /* LIBERAR LISTAS... */
       liberar_lista_enemigos();
@@ -428,7 +428,7 @@
 
   /* funcion interna que limpia los colores y bufferes
      y coloca la paleta de juego, etc */
-  static void hacer_cleanup_mapeos()
+  void hacer_cleanup_mapeos()
   {
         set_palette(pal_game);
         color_map = &tabla_transparencia;  /* la rutina de sombras la precisa! 
*/
@@ -442,7 +442,7 @@
   }
 
   /* Funcion interna para instalar los timers */
-  static void pone_timers_juego()
+  void pone_timers_juego()
   {
    /* Timers */
    if (install_int_ex(increment_speed_counter, BPS_TO_TIMER(30)))
@@ -456,7 +456,7 @@
   }
 
   /* Funcion interna para SACAR los timers */
-  static void saca_timers_juego()
+  void saca_timers_juego()
   {
     /* remover timers... */
     remove_int(fps_proc);
diff -urN ../tmp-orig/kraptor-0.0.20040403/src/joymnu.c ./src/joymnu.c
--- ../tmp-orig/kraptor-0.0.20040403/src/joymnu.c       2003-07-27 
05:26:00.000000000 +0200
+++ ./src/joymnu.c      2005-06-17 21:42:26.000000000 +0200
@@ -21,7 +21,7 @@
       y cambia de color cuando presiona el boton 1,2 o 3
       usa d2 para propositos internos...
       */
-   static int xbox_joystick_test_proc(int msg, DIALOG *d, int c)
+   int xbox_joystick_test_proc(int msg, DIALOG *d, int c)
    {
    int new_pos = 0;
    int pos_x = 0 , pos_y = 0; // posicion (-1 = abj,izq, 1 = arr,der )
diff -urN ../tmp-orig/kraptor-0.0.20040403/src/menu.c ./src/menu.c
--- ../tmp-orig/kraptor-0.0.20040403/src/menu.c 2003-07-27 04:22:00.000000000 
+0200
+++ ./src/menu.c        2005-06-17 21:42:51.000000000 +0200
@@ -146,7 +146,7 @@
 static void hacer_el_menu_principal_helper()
 {
             // comenzar un nuevo juego
-            static int nuevo_juego_mnu()
+            int nuevo_juego_mnu()
             {
                 DIALOG skill_select_dlg[] =
                 {
@@ -173,14 +173,14 @@
             }
 
             // Carga un juego
-            static int cargar_mnu()
+            int cargar_mnu()
             {
                menu_seleccionado = MNU_S_LOAD_GAME;
                
                return D_CLOSE;
             }
             
-            static int salir_mnu()
+            int salir_mnu()
             {
               menu_seleccionado = MNU_S_QUIT_GAME;
             
@@ -188,7 +188,7 @@
             }
             
             /* Permite seleccionar un nuevo modo de video */
-            static int choose_video_mnu()
+            int choose_video_mnu()
             {
              int card = 0, w = SCREEN_W, h = SCREEN_H;
             
@@ -206,7 +206,7 @@
             }
 
             /* Acerca de... */
-            static int acercade_proggy_mnu()
+            int acercade_proggy_mnu()
             {
                 DIALOG acerca_de_dlg[] =    
                 {
@@ -241,14 +241,14 @@
             }
 
             /* idioma -> espa¤ol */
-            static int cambia_espanol(void)
+            int cambia_espanol(void)
             {
               menu_seleccionado = MNU_S_CFG_SPANISH;
               return D_CLOSE;
             }
 
             /* idioma -> ingles */
-            static int cambia_ingles(void)
+            int cambia_ingles(void)
             {
               menu_seleccionado = MNU_S_CFG_ENGLISH;
               return D_CLOSE;

---------------------------------------
Received: (at 314686-close) by bugs.debian.org; 15 Aug 2005 12:55:20 +0000
>From [EMAIL PROTECTED] Mon Aug 15 05:55:20 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E4eMs-0001SM-00; Mon, 15 Aug 2005 05:47:06 -0700
From: Miriam Ruiz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#314686: fixed in kraptor 0.0.20040403-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 15 Aug 2005 05:47:06 -0700
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
X-CrossAssassin-Score: 2

Source: kraptor
Source-Version: 0.0.20040403-2

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

kraptor-data_0.0.20040403-2_all.deb
  to pool/main/k/kraptor/kraptor-data_0.0.20040403-2_all.deb
kraptor_0.0.20040403-2.diff.gz
  to pool/main/k/kraptor/kraptor_0.0.20040403-2.diff.gz
kraptor_0.0.20040403-2.dsc
  to pool/main/k/kraptor/kraptor_0.0.20040403-2.dsc
kraptor_0.0.20040403-2_i386.deb
  to pool/main/k/kraptor/kraptor_0.0.20040403-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.
Miriam Ruiz <[EMAIL PROTECTED]> (supplier of updated kraptor 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: Sun,  3 Jul 2005 19:23:37 +0000
Source: kraptor
Binary: kraptor kraptor-data
Architecture: source i386 all
Version: 0.0.20040403-2
Distribution: unstable
Urgency: low
Maintainer: Miriam Ruiz <[EMAIL PROTECTED]>
Changed-By: Miriam Ruiz <[EMAIL PROTECTED]>
Description: 
 kraptor    - Classic shoot 'em up scroller game
 kraptor-data - Classic shoot 'em up scroller game - data files
Closes: 311840 314686
Changes: 
 kraptor (0.0.20040403-2) unstable; urgency=low
 .
   * Fixes building problem on all 64 bit arches. MASK_WORD_BITBITS was not
     defined right for those architectures. Closes: #311840.
     Thanks to "Kurt Roeckx" <[EMAIL PROTECTED]>
   * Update due to changes in the way xlibs-static-* packages are handled.
   * Fixes compiling problem with gcc-4.0 due to invalid storage class errors.
     Closes: #314686. Thanks to Andreas Jochens <[EMAIL PROTECTED]>.
Files: 
 021f411505c43b50c9e4b3648c74dccd 678 games optional kraptor_0.0.20040403-2.dsc
 238821dfcc1cb1157bee62ea42fd39ff 12882 games optional 
kraptor_0.0.20040403-2.diff.gz
 2c210236eb0148967f76a44239bbaa23 9881822 games optional 
kraptor-data_0.0.20040403-2_all.deb
 2e5812a21870859e2c87e35982ca4c6f 54234 games optional 
kraptor_0.0.20040403-2_i386.deb

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

iD8DBQFDAInmgY5NIXPNpFURArpsAKChBGuR1lBmts7xYV4VbGXC7Ncg/ACfZ66C
AgchAEXfu4BjpN4oOEjVWsk=
=V2Gk
-----END PGP SIGNATURE-----


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

Reply via email to