From owner-freebsd-ports@FreeBSD.ORG Mon Mar 7 23:11:31 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FE3016A4CE for ; Mon, 7 Mar 2005 23:11:31 +0000 (GMT) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E2BA43D4C for ; Mon, 7 Mar 2005 23:11:31 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0ID000ALA8F42PF1@vms048.mailsrvcs.net> for freebsd-ports@freebsd.org; Mon, 07 Mar 2005 17:11:29 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id A9A462CE7D2; Mon, 07 Mar 2005 15:11:27 -0800 (PST) Date: Mon, 07 Mar 2005 15:11:25 -0800 From: "Michael C. Shultz" In-reply-to: <20050307225525.GA53136@fatpipi.cirx.org> To: "Vanilla I. Shu" Message-id: <200503071511.26128.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=big5 Content-transfer-encoding: 7bit Content-disposition: inline References: <1110223267.1739.64.camel@think> <20050307225122.GA53015@fatpipi.cirx.org> <20050307225525.GA53136@fatpipi.cirx.org> User-Agent: KMail/1.7.2 cc: freebsd-ports@freebsd.org Subject: Re: imlib2 port broken on RELENG_4? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2005 23:11:31 -0000 On Monday 07 March 2005 02:55 pm, you wrote: > On Tue, Mar 08, 2005 at 06:51:22AM +0800, Vanilla I. Shu wrote: > > On Mon, Mar 07, 2005 at 12:35:20PM -0800, Michael C. Shultz wrote: > > > On Monday 07 March 2005 12:05 pm, Michael C. Shultz wrote: > > > > version 4.11 but it is in /usr/include/math.h in version 5.3. > > > > I cc'ed the maintainer. > > > > > > > > -Mike > > > > > > I have a little more info: > > > FreeBSD 4.11 lround doesn't seem to be in /usr/lib/libm.so.2 > > > FreeBSD 5.3 lround is in libm.so.3 (/usr/lib/libm.so) > > > So maybe the newest imlib2 is no longer feasible on 4.11? > > > I noticed the previous version compiled fine on 4.11. > > > > Hi: > > Could you try this fix? > > http://mail-index.netbsd.org/pkgsrc-bugs/2005/01/16/0009.html > > or > > sed -e 's|lround|(long int)rint|g' color_helpers.c > -- > storlen from ports/biology/xdrawchem/Makefile. I made the patch, it applied cleanly but I get this error now :( c -O -pipe -march=k6 -o .libs/imlib2_conv imlib2_conv.o -L/usr/local/lib -L/usr/X11R6/lib ../../src/lib/.libs/libImlib2.so -lfreetype -lz -lX11 -lXext -lm -Wl,--rpath -Wl,/usr/X11R6/lib ../../src/lib/.libs/libImlib2.so: undefined reference to `round' *** Error code 1 Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0/src/bin. *** Error code 1 Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0/src. *** Error code 1 Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0. *** Error code 1 Stop in /tmp/ad1/ports/graphics/imlib2/work/imlib2-1.2.0.