Subject: Re: base64 routines [was: Re: CVS commit: src/usr.bin]
To: Elad Efrat <email@example.com>
From: Darrin B.Jewell <firstname.lastname@example.org>
Date: 09/24/2006 12:32:02
Elad Efrat <elad@NetBSD.org> writes:
> This apparently breaks the tools on Darwin. I'm thinking of two
> possible solutions -- either adding base64 encode/decode routines
> to some lib (libc or libutil? or something else) or just solve
> the problem for uuencode/uudecode with a local copy of the b64_ntop and
> b64_pton routines.
I like the idea of removing the resolver dependency from uuencode/decode.
However, there are also a couple of other 'quick' fix options
1. disable the base64 support in uudecode with a HOST_CPPFLAGS+= -DNO_BASE64
2. update libnbcompat to check for and make sure the necessary header
files and routines are available on the host
The first seems like the simplest option, since the tools really don't
need the base64 support.