diff options
-rw-r--r-- | www/WebMagick/Makefile | 1 | ||||
-rw-r--r-- | www/WebMagick/files/patch-aa | 11 |
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]); + } |