imlib2 port broken on RELENG_4?

Michael C. Shultz ringworm01 at gmail.com
Mon Mar 7 15:11:31 PST 2005


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.


More information about the freebsd-ports mailing list