diff options
author | tron <tron@pkgsrc.org> | 2011-01-15 08:15:47 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-01-15 08:15:47 +0000 |
commit | 8cb5ce92e737bc1c632668119e35369adc89a553 (patch) | |
tree | 793d9037ef5a3859acebd2b7641a205668dddaa1 /graphics | |
parent | 4b6389e26d01dc973655d1c7b4f3a0aef50adf97 (diff) | |
download | pkgsrc-8cb5ce92e737bc1c632668119e35369adc89a553.tar.gz |
Fix bug in patch for "pnmtopng" reported by Thomas Klausner in private
e-mail. No package revision bump as the package didn't build before
and still doesn't until "pngtopnm" gets fixed as well.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/netpbm/distinfo | 4 | ||||
-rw-r--r-- | graphics/netpbm/patches/patch-ac | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/netpbm/distinfo b/graphics/netpbm/distinfo index 37e0e44ffae..5df786146f1 100644 --- a/graphics/netpbm/distinfo +++ b/graphics/netpbm/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.80 2011/01/14 21:51:58 tron Exp $ +$NetBSD: distinfo,v 1.81 2011/01/15 08:15:47 tron Exp $ SHA1 (netpbm-10.35.77.tgz) = 81a2b02db339e2bae8cc38db9b987b1cb0b228e2 RMD160 (netpbm-10.35.77.tgz) = e7d7fa5a696ef962fd8d61eaed803548716e510c Size (netpbm-10.35.77.tgz) = 2547233 bytes SHA1 (patch-aa) = fb94fb43c4c63113e9c720ea399a5cecb2c79977 SHA1 (patch-ab) = 4d6508ad837d455ea3f8ebaa704f33f9e089f6e0 -SHA1 (patch-ac) = 3cf3a660e0ed769d5c5784fce27bf7db09994ffa +SHA1 (patch-ac) = fa9750f4c243350edfb3dfafc8d7a7c49ce2ecdf SHA1 (patch-ad) = b4a5833e18afd5a991aad897674386a3f00c3ee1 SHA1 (patch-ae) = 33a5be2843dd85b530f5e6ba496cd0380cd5edd1 SHA1 (patch-af) = 7ac8b5a431cd007ccc23ea337194a5c542ff0a54 diff --git a/graphics/netpbm/patches/patch-ac b/graphics/netpbm/patches/patch-ac index 18aa0f883f0..e46b422c901 100644 --- a/graphics/netpbm/patches/patch-ac +++ b/graphics/netpbm/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.20 2011/01/14 21:51:59 tron Exp $ +$NetBSD: patch-ac,v 1.21 2011/01/15 08:15:47 tron Exp $ Fix build with png-1.5. @@ -252,7 +252,7 @@ Fix build with png-1.5. - if (alpha && info_ptr->color_type != PNG_COLOR_TYPE_PALETTE) - info_ptr->color_type |= PNG_COLOR_MASK_ALPHA; -+ png_set_IHDR(png_ptr, info_ptr, cols, rows, depth, PNG_COLOR_TYPE_PALETTE, 0, 0, 0); ++ png_set_IHDR(png_ptr, info_ptr, cols, rows, depth, color_type, 0, 0, 0); + png_init_io (png_ptr, stdout); - info_ptr->interlace_type = cmdline.interlace; |