patch for cvs glib vs freebsd





i'm sure there is a better way to fix this, but anyway...

	-seth


gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:767: conflicting types for `sys_siglist'
/usr/include/signal.h:45: previous declaration of `sys_siglist'
gmake: *** [gstrfuncs.o] Error 1



Index: gstrfuncs.c
===================================================================
RCS file: /debian/home/gnomecvs/glib/gstrfuncs.c,v
retrieving revision 1.21
diff -r1.21 gstrfuncs.c
761a762,764
> # ifdef __FreeBSD__
>   extern __const char *__const sys_siglist[NSIG];
> # else
762a766
> # endif


twitch$ uname -a
FreeBSD twitch.eng.cp.net 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Thu Oct 29 09:36:31 PST 1998     alves@twitch.eng.cp.net:/usr/PAO/sys/compile/twitch  i386
twitch$ gcc --version
egcs-2.91.60



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]