From owner-freebsd-ports@FreeBSD.ORG Tue Aug 31 07:33:54 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE95D10656B1 for ; Tue, 31 Aug 2010 07:33:54 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 9648C8FC1E for ; Tue, 31 Aug 2010 07:33:54 +0000 (UTC) Received: from omta17.emeryville.ca.mail.comcast.net ([76.96.30.73]) by qmta07.emeryville.ca.mail.comcast.net with comcast id 0vZC1f0041afHeLA7vZuZZ; Tue, 31 Aug 2010 07:33:54 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta17.emeryville.ca.mail.comcast.net with comcast id 0vZt1f0023LrwQ28dvZtKH; Tue, 31 Aug 2010 07:33:54 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 06E249B425; Tue, 31 Aug 2010 00:33:53 -0700 (PDT) Date: Tue, 31 Aug 2010 00:33:53 -0700 From: Jeremy Chadwick To: andrew clarke Message-ID: <20100831073352.GA60974@icarus.home.lan> References: <20100831062759.GA6916@ozzmosis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100831062759.GA6916@ozzmosis.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ports@freebsd.org, ehaupt@FreeBSD.org, billposer@alum.mit.edu Subject: Re: textproc/uni2ascii build failure on FreeBSD 7.3 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2010 07:33:54 -0000 On Tue, Aug 31, 2010 at 04:27:59PM +1000, andrew clarke wrote: > 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' FreeBSD 7.x's libc does not include getline(3). The port will have to be modified to probably bring in devel/libgetline and custom patches made to work when built on that OS. Alternatively, one could try and get the author (CC'd) to restore getline.c in the official source but only build it/make use of it when a specific configure or make flag is specified. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |