aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tiff/Makefile1
-rw-r--r--graphics/tiff/files/patch-tools_tiffset_c21
2 files changed, 22 insertions, 0 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index a7e2d996c250..587949dea468 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -9,6 +9,7 @@
PORTNAME= tiff
PORTVERSION= 3.5.7
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \
http://www.libtiff.org/
diff --git a/graphics/tiff/files/patch-tools_tiffset_c b/graphics/tiff/files/patch-tools_tiffset_c
new file mode 100644
index 000000000000..65d890d38eb3
--- /dev/null
+++ b/graphics/tiff/files/patch-tools_tiffset_c
@@ -0,0 +1,21 @@
+$OpenBSD: patch-tools_tiffset_c,v 1.1 2003/04/15 15:30:52 avsm Exp $
+--- tools/tiffset.c.orig Mon Apr 14 17:03:27 2003
++++ tools/tiffset.c Mon Apr 14 17:11:28 2003
+@@ -86,7 +86,7 @@ main(int argc, char* argv[])
+
+ if( id < 1 )
+ {
+- fprintf( stderr, "Field name %s not recognised.\n" );
++ fprintf( stderr, "Field name %s not recognised.\n", argv[arg_index+1] );
+ exit( -3 );
+ }
+
+@@ -112,7 +112,7 @@ main(int argc, char* argv[])
+
+ if( id < 1 )
+ {
+- fprintf( stderr, "Field name %s not recognised.\n" );
++ fprintf( stderr, "Field name %s not recognised.\n", argv[arg_index+1] );
+ exit( -3 );
+ }
+