pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tiff Add patch-ah that is adapted from http:/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/544ea505a249
branches:  trunk
changeset: 487578:544ea505a249
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Jan 17 08:37:31 2005 +0000

description:
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:

 graphics/tiff/distinfo         |   3 ++-
 graphics/tiff/patches/patch-ah |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 403c9394a0db -r 544ea505a249 graphics/tiff/distinfo
--- a/graphics/tiff/distinfo    Mon Jan 17 08:29:30 2005 +0000
+++ b/graphics/tiff/distinfo    Mon Jan 17 08:37:31 2005 +0000
@@ -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-ae) = bb2e2d3a5be49204356c3c504d3a4bd5ba1fd9b2
 SHA1 (patch-af) = 29adfbcaa317df36a41af791e93159ad795c5e0b
 SHA1 (patch-ag) = 8ec28fcea0690275935b4c20f57a8d6d8b114b86
+SHA1 (patch-ah) = 355c36e637f7e230cb555afb50090b9c9d1bad9c
diff -r 403c9394a0db -r 544ea505a249 graphics/tiff/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/tiff/patches/patch-ah    Mon Jan 17 08:37:31 2005 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index