diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2005-01-04 20:59:26 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2005-01-04 20:59:26 +0000 |
commit | eba570b1a08683d41d53e910a1f9e77dc8bdd44c (patch) | |
tree | 831ccaf5b0b87a91ace65ba8e1ffb98ee6333dd0 /graphics/tiff | |
parent | b3137d9b0ee756519ec800cb998b760b1911a251 (diff) |
Notes
Diffstat (limited to 'graphics/tiff')
-rw-r--r-- | graphics/tiff/Makefile | 1 | ||||
-rw-r--r-- | graphics/tiff/files/patch-tif_getimage.c | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index 4f4f762b3550..722974191964 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -9,6 +9,7 @@ PORTNAME= tiff PORTVERSION= 3.7.1 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ftp://ftp.remotesensing.org/pub/libtiff/ \ http://dl1.maptools.org/dl/libtiff/ diff --git a/graphics/tiff/files/patch-tif_getimage.c b/graphics/tiff/files/patch-tif_getimage.c new file mode 100644 index 000000000000..2e19f67fb47a --- /dev/null +++ b/graphics/tiff/files/patch-tif_getimage.c @@ -0,0 +1,12 @@ +diff -u -p -r1.43 libtiff/tif_getimage.c +--- libtiff/tif_getimage.c 19 Dec 2004 17:11:17 -0000 1.43 ++++ libtiff/tif_getimage.c 24 Dec 2004 09:30:18 -0000 +@@ -247,7 +247,7 @@ TIFFRGBAImageBegin(TIFFRGBAImage* img, T + TIFFGetFieldDefaulted(tif, TIFFTAG_SAMPLESPERPIXEL, &img->samplesperpixel); + TIFFGetFieldDefaulted(tif, TIFFTAG_EXTRASAMPLES, + &extrasamples, &sampleinfo); +- if (extrasamples > 1) ++ if (extrasamples >= 1) + { + switch (sampleinfo[0]) { + case EXTRASAMPLE_UNSPECIFIED: /* Workaround for some images without */ |