summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches
diff options
context:
space:
mode:
authorjlam <jlam>2005-01-17 08:37:31 +0000
committerjlam <jlam>2005-01-17 08:37:31 +0000
commit314898eb42b762d1990b9cbd167235f5a413f629 (patch)
treee7dac21e6324922bcffee2c843ef986af5381543 /graphics/tiff/patches
parent1e8f0797c470a1008a71238aa8b7231c7bdf6104 (diff)
downloadpkgsrc-314898eb42b762d1990b9cbd167235f5a413f629.tar.gz
Add patch-ah that is adapted from http://bugzilla.remotesensing.org/
that fixes a bug where docked TIFF icons in WindowMaker have a black background rather than a transparent background. Ride the previous PKGREVISION bump to 3. This fixes PR pkg/28989.
Diffstat (limited to 'graphics/tiff/patches')
-rw-r--r--graphics/tiff/patches/patch-ah13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/tiff/patches/patch-ah b/graphics/tiff/patches/patch-ah
new file mode 100644
index 00000000000..489e8f42885
--- /dev/null
+++ b/graphics/tiff/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.4 2005/01/17 08:37:31 jlam Exp $
+
+--- libtiff/tif_getimage.c.orig 2004-12-20 14:29:27.000000000 -0500
++++ libtiff/tif_getimage.c
+@@ -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 */