aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-12-04 19:40:23 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-12-04 19:40:23 +0000
commit06242a284df74bf5f541ab6dc5b46eb887d21d25 (patch)
treefc949e818885a1538c580b0e1fdd0e0fad68cbdc /graphics
parentdee1f7cfab10823515165b7d92ebf842a24621ee (diff)
downloadports-06242a284df74bf5f541ab6dc5b46eb887d21d25.tar.gz
ports-06242a284df74bf5f541ab6dc5b46eb887d21d25.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tiff/Makefile1
-rw-r--r--graphics/tiff/files/patch-libtiff-tif_dir.c27
2 files changed, 28 insertions, 0 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 904b9542d4d9..3a976b39a657 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -9,6 +9,7 @@
PORTNAME= tiff
PORTVERSION= 3.6.0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://libtiff.maptools.org/dl/
diff --git a/graphics/tiff/files/patch-libtiff-tif_dir.c b/graphics/tiff/files/patch-libtiff-tif_dir.c
new file mode 100644
index 000000000000..914100d8e2c8
--- /dev/null
+++ b/graphics/tiff/files/patch-libtiff-tif_dir.c
@@ -0,0 +1,27 @@
+--- libtiff/tif_dir.c.orig Tue Sep 30 08:13:07 2003
++++ libtiff/tif_dir.c Mon Dec 1 15:36:11 2003
+@@ -607,18 +607,18 @@
+ va_end(ap);
+ return (status);
+ badvalue:
+- TIFFError(module, "%.1000s: Bad value %d for \"%s\"", v,
+- tif->tif_name, _TIFFFieldWithTag(tif, tag)->field_name);
++ TIFFError(module, "%.1000s: Bad value %d for \"%s\"",
++ tif->tif_name, v, _TIFFFieldWithTag(tif, tag)->field_name);
+ va_end(ap);
+ return (0);
+ badvalue32:
+- TIFFError(module, "%.1000s: Bad value %ld for \"%s\"", v32,
+- tif->tif_name, _TIFFFieldWithTag(tif, tag)->field_name);
++ TIFFError(module, "%.1000s: Bad value %ld for \"%s\"",
++ tif->tif_name, v32, _TIFFFieldWithTag(tif, tag)->field_name);
+ va_end(ap);
+ return (0);
+ badvaluedbl:
+- TIFFError(module, "%.1000s: Bad value %f for \"%s\"", d,
+- tif->tif_name, _TIFFFieldWithTag(tif, tag)->field_name);
++ TIFFError(module, "%.1000s: Bad value %f for \"%s\"",
++ tif->tif_name, d, _TIFFFieldWithTag(tif, tag)->field_name);
+ va_end(ap);
+ return (0);
+ }