Package: mirrormagic Severity: normal Tags: patch When building 'mirrormagic' on amd64 with gcc-4.0, I get the following error:
make[3]: Leaving directory `/mirrormagic-2.0.2.0deb1/src/libgame' gcc -DDEBUG -g -O3 -Wall -DTARGET_SDL -I/usr/include/SDL -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/games/mirrormagic\"" -DRW_GAME_DIR="\"/var/games/mirrormagic\"" -c main.c In file included from main.c:16: main.h:462: error: array type has incomplete element type make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/mirrormagic-2.0.2.0deb1/src' With the attached patch 'mirrormagic' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/mirrormagic-2.0.2.0deb1/src/main.h ./src/main.h --- ../tmp-orig/mirrormagic-2.0.2.0deb1/src/main.h 2003-06-07 18:04:37.000000000 +0200 +++ ./src/main.h 2005-03-18 16:48:56.682473197 +0100 @@ -459,7 +459,6 @@ #endif extern struct HiScore highscore[]; extern struct TapeInfo tape; -extern struct JoystickInfo joystick[]; extern struct SetupInfo setup; extern struct GameInfo game; extern struct LaserInfo laser; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]