Date: Fri, 22 Jun 2007 19:18:09 +0300 From: Nikos Ntarmos <ntarmos@ceid.upatras.gr> To: multimedia@freebsd.org Subject: [PATCH] Ogle in recent -current Message-ID: <20070622161809.GA27433@ace.b020.ceid.upatras.gr>
next in thread | raw e-mail | index | archive | help
Hi all. Ogle refuses to compile on recent -current (w/ gcc 4.2) due to: ac3dec_wrap.c:51: error: static declaration of 'program_name' follows non-static declaration ../include/debug_print.h:7: error: previous declaration of 'program_name' was here The following simple patch fixes the problem: <snip> --- ac3/ac3dec_wrap.c.orig 2007-06-22 18:45:52.000000000 +0300 +++ ac3/ac3dec_wrap.c 2007-06-22 18:43:12.000000000 +0300 @@ -48,7 +48,7 @@ static void handle_events(MsgEventQ_t *q, MsgEvent_t *ev); -static char *program_name; +char *program_name; static FILE *outfile; </snip> BTW program_name is declared as 'char *program_name' in all other .c source files where it is referenced. Should I send-pr this or contact ogle-devel? Cheers. \n\n
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070622161809.GA27433>