summaryrefslogtreecommitdiff
path: root/graphics/tiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-01-17 08:37:31 +0000
committerjlam <jlam@pkgsrc.org>2005-01-17 08:37:31 +0000
commit926758d356aaf09cb2ff1113ee295ed52af67156 (patch)
treee7dac21e6324922bcffee2c843ef986af5381543 /graphics/tiff
parent2374c335bdacda7bc93aca42b69d42dbdb92d884 (diff)
downloadpkgsrc-926758d356aaf09cb2ff1113ee295ed52af67156.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')
-rw-r--r--graphics/tiff/distinfo3
-rw-r--r--graphics/tiff/patches/patch-ah13
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/tiff/distinfo b/graphics/tiff/distinfo
index 2d2884f487b..8eafd73fb1a 100644
--- a/graphics/tiff/distinfo
+++ b/graphics/tiff/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2005/01/17 08:04:25 jlam Exp $
+$NetBSD: distinfo,v 1.24 2005/01/17 08:37:31 jlam Exp $
SHA1 (tiff-3.7.1.tar.gz) = 001b03350182869c7f5d46e6b27862b85cb06fc3
Size (tiff-3.7.1.tar.gz) = 1253810 bytes
@@ -9,3 +9,4 @@ SHA1 (patch-ad) = 301e0ce2c121e9082e0ff9c5681c2ea1e0e6dcff
SHA1 (patch-ae) = bb2e2d3a5be49204356c3c504d3a4bd5ba1fd9b2
SHA1 (patch-af) = 29adfbcaa317df36a41af791e93159ad795c5e0b
SHA1 (patch-ag) = 8ec28fcea0690275935b4c20f57a8d6d8b114b86
+SHA1 (patch-ah) = 355c36e637f7e230cb555afb50090b9c9d1bad9c
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 */