Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 09:55:11 +0200
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        ports@freebsd.org, ehaupt@freebsd.org, billposer@alum.mit.edu
Subject:   Re: textproc/uni2ascii build failure on FreeBSD 7.3
Message-ID:  <20100831095511.29324fda.ehaupt@critical.ch>
In-Reply-To: <20100831062759.GA6916@ozzmosis.com>
References:  <20100831062759.GA6916@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
andrew clarke <mail@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100831095511.29324fda.ehaupt>