textproc/uni2ascii build failure on FreeBSD 7.3
Emanuel Haupt
ehaupt at critical.ch
Tue Aug 31 07:55:15 UTC 2010
andrew clarke <mail at ozzmosis.com> wrote:
> Hi,
>
> uni2ascii no longer builds on FreeBSD 7.3:
>
> cc -DNEWSUMMARY -O2 -fno-strict-aliasing -pipe -o ascii2uni
> ascii2uni.o enttbl.o GetWord.o putu8.o SetFormat.o ascii2uni.o(.text
> +0xb23): In function main': : undefined reference to getline'
>
> Quoting the ChangeLog:
>
> > 2010-08-29 Bill Poser <poser at khunekcho.khunek>
> >
> > * ascii2uni.c:
> > Removed getline.c dependent on GNU_SOURCE since getline is
> > standard as of POSIX2008.
>
> Relying on POSIX2008 support may be a bit ambitious.
According to [1] getline wasn't introduced before OSREVISION prior to
800067. I've just commited a patch that pulls in devel/libgetline on
those versions.
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/freebsd-versions.html#AEN4754
Thanks for the notification.
Emanuel
More information about the freebsd-ports
mailing list