I'm the maintainer of gv in MacPorts. Apologies for not testing
3.6.6.90 or 3.6.6.91, but while updating the gv port to 3.6.7 (on Mac
OS X 10.4.11 with Xcode 2.5) I got this error:
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -DNON_BLOCKING_IO -DGV_CODE
-DGV_LIBDIR=\"/mp/share/gv\" -I../lib -I../lib -g -DUSE_SETENV_CODE
-I/mp/include -I/mp/include -O2 -MT confirm.o -MD -MP -MF
.deps/confirm.Tpo -c -o confirm.o confirm.c
callbacks.c: In function 'cb_presentation':
callbacks.c:960: error: 'SIGCLD' undeclared (first use in this function)
callbacks.c:960: error: (Each undeclared identifier is reported only once
callbacks.c:960: error: for each function it appears in.)
make[2]: *** [callbacks.o] Error 1
Googling for this error, I see other projects have run into it:
http://markmail.org/message/xpfwof4bu44moxbo#query:SIGCLD%20mac+page:1+mid:w5vb76meovpbe2ys+state:results
The above suggests that for Mac OS X and FreeBSD this should be added:
#ifndef SIGCLD
# define SIGCLD SIGCHLD
#endif
Adding that near the top of src/callbacks.c did allow it to compile.
So I just wanted to let you know.