aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-03-15 14:21:46 +0800
committerache <ache@FreeBSD.org>2002-03-15 14:21:46 +0800
commitd00d6bdb6f3f67c91893d9ff3e460a365777289d (patch)
treea69b80d53aebde1d466c6a6fbd23b9549afeddd7 /graphics
parent0444b442bb396734cb69ff1feb6f5b00dd83774d (diff)
downloadfreebsd-ports-gnome-d00d6bdb6f3f67c91893d9ff3e460a365777289d.tar.gz
freebsd-ports-gnome-d00d6bdb6f3f67c91893d9ff3e460a365777289d.tar.zst
freebsd-ports-gnome-d00d6bdb6f3f67c91893d9ff3e460a365777289d.zip
Workaround hack for perl Ping() method wrong image dimension bug.
According to author, it is fixed in different way in not yet released 5.4.4
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ImageMagick/Makefile2
-rw-r--r--graphics/ImageMagick/files/patch-aa16
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile
index 38347e3e5395..1ec13a2e7872 100644
--- a/graphics/ImageMagick/Makefile
+++ b/graphics/ImageMagick/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ImageMagick
PORTVERSION= 5.4.3.11
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics perl5
MASTER_SITES= http://imagemagick.sourceforge.net/http/ \
ftp://ftp.yggdrasil.com/mirrors/site/ftp.simplesystems.org/pub/%SUBDIR%/ \
diff --git a/graphics/ImageMagick/files/patch-aa b/graphics/ImageMagick/files/patch-aa
new file mode 100644
index 000000000000..8a2f1ce28355
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-aa
@@ -0,0 +1,16 @@
+--- PerlMagick/Magick.xs.bak Fri Mar 1 00:35:16 2002
++++ PerlMagick/Magick.xs Fri Mar 15 07:42:00 2002
+@@ -6249,9 +6249,11 @@
+ EXTEND(sp,4*count);
+ for (p=image ; p != (Image *) NULL; p=p->next)
+ {
+- FormatString(message,"%u",p->columns);
++ FormatString(message,"%u",
++ p->magick_columns ? p->magick_columns : p->columns);
+ PUSHs(sv_2mortal(newSVpv(message,0)));
+- FormatString(message,"%u",p->rows);
++ FormatString(message,"%u",
++ p->magick_rows ? p->magick_rows : p->rows);
+ PUSHs(sv_2mortal(newSVpv(message,0)));
+ FormatString(message,"%lu",(unsigned long) GetBlobSize(p));
+ PUSHs(sv_2mortal(newSVpv(message,0)));