Package: aegis3 Severity: normal Tags: patch When building 'aegis3' on amd64 with gcc-4.0, I get the following error:
gcc -g -O2 -Icommon -Ilibaegis -Icommon -c common/gettime.gen.c common/gettime.y:1266: error: static declaration of 'gettime_lex' follows non-static declaration y.tab.c:1667: error: previous implicit declaration of 'gettime_lex' was here make[1]: *** [common/gettime.gen.o] Error 1 make[1]: Leaving directory `/aegis3-3.29' make: *** [build-stamp] Error 2 With the attached patch 'aegis3' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/aegis3-3.29/common/gettime.y ./common/gettime.y --- ../tmp-orig/aegis3-3.29/common/gettime.y 2001-10-31 21:41:51.000000000 +0100 +++ ./common/gettime.y 2004-12-10 13:50:51.432966320 +0100 @@ -1263,9 +1263,9 @@ * int; the yacc token, 0 means the-end. */ -static int yylex _((void)); +int yylex _((void)); -static int +int yylex() { int sign;