Scott Blachowicz <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] (Ruud de Rooij) wrote:
> > This bug has been fixed in nmh 1.0.3 and we encourage you to upgrade
> > immediately. The fixed package is available at
> >
> > ftp://ftp.mhost.com/pub/nmh/nmh-1.0.3.tar.gz
>
> Just updating the FreeBSD port to nmh-1.0.3 and ran across this
> problem...
>
> cc -c -DHAVE_CONFIG_H -I.. -I. -I.. -O -pipe -DFLOCK_LOCKING slocal.c
> slocal.c:39: conflicting types for `initgroups'
> /usr/include/unistd.h:146: previous declaration of `initgroups'
> *** Error code 1
D'oh! Sorry about that, Scott (and anyone else affected). Stupid of me to
think my prototype would be free of conflicts on all UNIXen. That's what I
get for coding in the middle of the night. I've fixed it so now configure
looks in <grp.h> and <unistd.h> for the initgroups() declaration and only
provides its own prototype if it's not in either of those places.
I'm not familiar with the FreeBSD port -- does nmh require changes to the
main source tree to work on FreeBSD, or are you just putting together some
kind of binary package? Just trying to gauge how urgent it is to get out a
1.0.4 with my fix (wonder if any other OSes choke on that unconditional
initgroups() prototype...).
-----------------------------------------------------------------------
Dan Harkless | To prevent SPAM contamination, please
[EMAIL PROTECTED] | do not post this private email address
SpeedGate Communications, Inc. | to the USENET or WWW. Thank you.