Package: sgt-puzzles Version: 6039-1 Severity: serious Tags: patch When building 'sgt-puzzles' on amd64/unstable, I get the following error:
cc -O2 -Wall -Werror -g -I./ `sh -c 'pkg-config gtk+-2.0 $0 2>/dev/null || gtk-config $0' --cflags` -c rect.c cc1: warnings being treated as errors rect.c: In function 'new_game_desc': rect.c:1288: warning: 'r2.x' may be used uninitialized in this function rect.c:1288: warning: 'r2.y' may be used uninitialized in this function rect.c:1288: warning: 'r2.w' may be used uninitialized in this function rect.c:1288: warning: 'r2.h' may be used uninitialized in this function rect.c:1288: warning: 'r1.w' may be used uninitialized in this function rect.c:1288: warning: 'r1.h' may be used uninitialized in this function make[1]: *** [rect.o] Error 1 make[1]: Leaving directory `/sgt-puzzles-6039' make: *** [build] Error 2 With the attached patch 'sgt-puzzles' can be compiled. Regards Andreas Jochens diff -urN ../tmp-orig/sgt-puzzles-6039/rect.c ./rect.c --- ../tmp-orig/sgt-puzzles-6039/rect.c 2005-06-29 00:30:05.000000000 +0000 +++ ./rect.c 2005-07-18 10:51:36.000000000 +0000 @@ -1285,7 +1285,7 @@ if (ndirs > 0) { int which, dir; - struct rect r1, r2; + struct rect r1={0,0,0,0}, r2={0,0,0,0}; which = random_upto(rs, ndirs); dir = dirs[which]; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]