[Pkg-fonts-devel] Bug#649950: PATCH: Support libpng 1.5 [was: Bug#649950: fontforge: FTBFS: gimagewritepng.c:339:12: error: dereferencing pointer to incomplete type]

Paul Flo Williams paul at frixxon.co.uk
Wed Dec 7 10:02:41 UTC 2011

The attached patch against current head should take care of the
outstanding issues with libpng 1.5 support.

The two copies of GImageWrite_Png() are now very similar, with the
non-dlopen'd version using accessor functions like the other version.

On the way, this also fixes trans_color, which was being dereferenced
without being allocated.

This now builds for me, as configured for Fedora, but I haven't quite
worked out how to trigger PNG generation -- something to do with SVG
writing? So, needs testing :-)

Paul Flo Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Support-libpng-1.5-by-only-using-accessor-functions-.patch
Type: application/octet-stream
Size: 6356 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20111207/cf5a6cb6/attachment.obj>

More information about the Pkg-fonts-devel mailing list