aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-08-13 07:18:52 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-08-13 07:18:52 +0000
commitdc0825ec301b58c53135ae382589d6158c573e6e (patch)
treef27cc874f40aeb87ff66c2da73a77873ed82069d /graphics
parent924a56ebcc93a0d76d7652a49d4503019dbbe8e1 (diff)
downloadports-dc0825ec301b58c53135ae382589d6158c573e6e.tar.gz
ports-dc0825ec301b58c53135ae382589d6158c573e6e.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile1
-rw-r--r--graphics/ImageMagick/files/patch-magick-fourier.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index f84b5da80f53..3781626c899b 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ImageMagick
DISTVERSION= 6.5.4-10
+PORTREVISION= 1
CATEGORIES= graphics perl5
MASTER_SITES= ftp://ftp.imagemagick.org/pub/ImageMagick/ \
${MASTER_SITE_SOURCEFORGE} \
diff --git a/graphics/ImageMagick/files/patch-magick-fourier.c b/graphics/ImageMagick/files/patch-magick-fourier.c
new file mode 100644
index 000000000000..8497b78e42f9
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-magick-fourier.c
@@ -0,0 +1,11 @@
+--- magick/fourier.c.orig 2009-08-13 09:03:13.924505718 +0200
++++ magick/fourier.c 2009-08-13 09:03:24.685881339 +0200
+@@ -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