Package: fenix Version: 0.92a.dfsg1-1 Severity: important Tags: patch Usertags: implicit-pointer-conversion
Our automated buildd log filter[1] detected a problem that is likely to cause your package to segfault on architectures where the size of a pointer is greater than the size of an integer, such as ia64 and amd64. This is often due to a missing function prototype definition. [1]http://people.debian.org/~dannf/check-implicit-pointer-functions ----- Forwarded message from Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]> ----- X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on ldl.fc.hp.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=3.5 tests=AWL,BAYES_00,UNDISC_RECIPS autolearn=disabled version=3.1.7-deb X-Virus-Scanned: Debian amavisd-new at ldl.fc.hp.com Subject: Log for successful build of fenix_0.92a.dfsg1-1 (dist=unstable) From: Debian/IA64 non-US Build Daemon <[EMAIL PROTECTED]> Date: Mon, 13 Aug 2007 04:20:03 +0100 To: undisclosed-recipients: ; X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.12.195323 Debian-Buildd-Error: Yes Function `pal_map_assign' implicitly converted to pointer at i_func.c:1194 Function `pal_set' implicitly converted to pointer at i_func.c:1211 Function `pal_set' implicitly converted to pointer at i_func.c:1211 Function `pal_get' implicitly converted to pointer at i_func.c:1216 Function `pal_get' implicitly converted to pointer at i_func.c:1216 Function `Mix_LoadMUS_RW' implicitly converted to pointer at sound.c:245 ----- End forwarded message ----- -- dann frazier
--- fenix-0.92a.dfsg1.base/fxi/src/sound.c 2007-08-13 15:29:18.000000000 -0600 +++ fenix-0.92a.dfsg1/fxi/src/sound.c 2007-08-13 15:30:40.000000000 -0600 @@ -40,6 +40,8 @@ #include <stdlib.h> #include <string.h> +#include <SDL/SDL_mixer.h> + #ifdef USE_GETTEXT #include <libintl.h> #define _(String) gettext (String)
--- /dev/null 2007-07-18 14:13:02.416000000 -0600 +++ fenix-0.92a.dfsg1/fxi/inc/g_pal.h 2007-08-13 15:23:17.000000000 -0600 @@ -0,0 +1,33 @@ +/* + * Fenix - Videogame compiler/interpreter + * Current release : FENIX - PROJECT 1.0 - R 0.84 + * Last stable release : + * Project documentation : http://fenix.divsite.net + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Copyright ? 1999 Jos? Luis Cebri?n Pag?e + * Copyright ? 2002 Fenix Team + * + */ + +#ifndef __G_PAL_H +#define __G_PAL_H + +int pal_set (PALETTE * spal, int color, int num, Uint8 * pal); +int pal_map_assign (int libid, int mapcode, PALETTE * palid); + +#endif --- fenix-0.92a.dfsg1.orig/fxi/src/i_func.c 2007-04-13 12:21:22.000000000 -0600 +++ fenix-0.92a.dfsg1/fxi/src/i_func.c 2007-08-13 15:23:41.000000000 -0600 @@ -63,6 +63,7 @@ #include "fmath.h" #include "dirs.h" #include "sysprocs_p.h" +#include "g_pal.h" /* WIN32 INCLUDES */ #ifdef WIN32