[PATCH] pslib-0.2.5

Alan Garfield alan at fromorbit.com
Thu Apr 7 00:55:49 PDT 2005


I've tried sending this small patch to the original developers, but I've
had no luck getting any response to any of their email addresses for
over two months!

So anyway, here is a small patch that fixes several bugs in this

The biggest fix is to ps_ascii85_encode() which fixes image corruption
because of an uncleared variable and an incorrect cast.

The second fix is to open_image_file() which incorrectly didn't set JPEG
images to an RGB colour space. Which meant the postscript output was
incorrect and couldn't be rendered.

To apply the patch :-

> tar zxvf pslib-0.2.5.tar.gz
> cd pslib-0.2.5
> patch -Np1 < ../pslib-0.2.5p3.patch 

Hope this is helpful to someone!

Alan Garfield.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pslib-0.2.5p3.patch
Type: text/x-patch
Size: 1372 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050407/2a251c97/pslib-0.2.5p3.bin

More information about the freebsd-ports mailing list