ImageMagick 6.5.4.10

Jason J. Hellenthal jasonh at DataIX.net
Thu Aug 13 03:57:17 UTC 2009


On Wed, 12 Aug 2009 21:44:39 -0500 (CDT)
Stephen Montgomery-Smith <stephen at missouri.edu> wrote:

> 
> 
> On Wed, 12 Aug 2009, Jason J. Hellenthal wrote:
> 
> > On Wed, 12 Aug 2009 20:11:20 -0500
> > ajtiM <lumiwa at gmail.com> wrote:
> >
> >> Update to 6.5.4.10 on FreeBSD 7.2
> >>
> >> magick/.libs/libMagickCore.so: undefined reference to `carg'
> >> *** Error code 1
> 
> Try this patch:
> 
> diff -u magick/fourier-orig.c magick/fourier.c
> --- magick/fourier-orig.c       2009-08-13 02:39:18.000000000 +0000
> +++ magick/fourier.c    2009-08-13 02:40:13.000000000 +0000
> @@ -515,7 +515,7 @@
>         for (x=0L; x < (long) fourier_info->center; x++)
>         {
>           magnitude[i]=cabs(fourier[i]);
> -        phase[i]=carg(fourier[i]);
> +        phase[i]=atan2(cimag(fourier[i]),creal(fourier[i]));
>           i++;
>         }
>     else
> 

I conclude this fixes the problem on 7.2-RELEASE-p3/i386 Non-SMP
-- 
Jason J. Hellenthal
+1.616.403.8065
jasonh at DataIX.net


More information about the freebsd-ports mailing list