diff options
Diffstat (limited to 'print/img2eps/patches/patch-ab')
-rw-r--r-- | print/img2eps/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/print/img2eps/patches/patch-ab b/print/img2eps/patches/patch-ab new file mode 100644 index 00000000000..e9d0a756645 --- /dev/null +++ b/print/img2eps/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2010/06/19 13:36:13 wiz Exp $ + +--- src/im_png.c.orig 2002-10-15 14:30:58.000000000 +0000 ++++ src/im_png.c +@@ -273,7 +273,7 @@ png_read_start(image_png *im) + if (im->im.oi.cspace.depth != im->im.i.cspace.depth) { + if (im->im.oi.cspace.type == IMAGE_CS_GRAY + && im->im.oi.cspace.depth /* XXX ?! */) +- png_set_gray_1_2_4_to_8(im->png); ++ png_set_expand_gray_1_2_4_to_8(im->png); + else if (im->im.oi.cspace.depth == 16) + png_set_strip_16(im->png); + } |