The changes to the definitions of stdout/stdin/stderr from a while
back caused a number of ports to break (somewhere around 84, according
to bento).  For example, the cap port fails like this:

cc -DBYTESWAPPED -DPHASE2 -O -I/mnt/ports/net/cap/work/cap60   -DLWSRV_LPR_LOG 
-DPID_FILE=\"/var/run/\" -DUSEVPRINTF -c ablog.c
ablog.c:69: initializer element is not constant

where the offending line is:

static FILE *lfp = stderr;

David O'Brien committed a workaround to the clog port yesterday to
move the initializer to main() instead of trying to do it statically.

Is this something which is supposed to work?


Attachment: msg36530/pgp00000.pgp
Description: PGP signature

Reply via email to