aboutsummaryrefslogtreecommitdiffstats
path: root/www/WebMagick
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2002-03-15 11:37:33 +0800
committerache <ache@FreeBSD.org>2002-03-15 11:37:33 +0800
commit6c40b38759b96994fde8bd2e9584c346afce073b (patch)
tree4c06d5a7cdd9c29bbb411aceca53a13af730c2e9 /www/WebMagick
parent363bbffbf52084270f1b35cd3d7fa63f78d9ccee (diff)
downloadfreebsd-ports-gnome-6c40b38759b96994fde8bd2e9584c346afce073b.tar.gz
freebsd-ports-gnome-6c40b38759b96994fde8bd2e9584c346afce073b.tar.zst
freebsd-ports-gnome-6c40b38759b96994fde8bd2e9584c346afce073b.zip
Fix wrong prev link from the first picture on the last page.
Diffstat (limited to 'www/WebMagick')
-rw-r--r--www/WebMagick/Makefile1
-rw-r--r--www/WebMagick/files/patch-aa11
2 files changed, 12 insertions, 0 deletions
diff --git a/www/WebMagick/Makefile b/www/WebMagick/Makefile
index 88f4786ec857..d2f9e2748a75 100644
--- a/www/WebMagick/Makefile
+++ b/www/WebMagick/Makefile
@@ -8,6 +8,7 @@
PORTNAME= WebMagick
PORTVERSION= 2.02
PORTEPOCH= 1
+PORTREVISION= 1
CATEGORIES= www graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= webmagick
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa
new file mode 100644
index 000000000000..a2bebcb6b9b5
--- /dev/null
+++ b/www/WebMagick/files/patch-aa
@@ -0,0 +1,11 @@
+--- webmagick.in.bak Wed Dec 5 16:52:39 2001
++++ webmagick.in Fri Mar 15 06:23:40 2002
+@@ -2472,7 +2472,7 @@
+ } else {
+ print ( PICHTML "<A${target} HREF=\"");
+ if ($imageNum == 0 && $pageNumber != 1) {
+- print ( PICHTML $imageNames[$pageNumber - 2][${numimages} - 1]);
++ print ( PICHTML $imageNames[$pageNumber - 2][$#{$imageNames[$pageNumber - 2]}]);
+ } else {
+ print ( PICHTML $imageNames[$pageNumber - 1][${imageNum} - 1]);
+ }