[PATCH] Ogle in recent -current
Nikos Ntarmos
ntarmos at ceid.upatras.gr
Fri Jun 22 16:42:20 UTC 2007
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
More information about the freebsd-multimedia
mailing list