mxcl/homebrew — pull request #8212 by mistydemeo (2011-10-21 02:50:58+00:00)
Title: leptonica: add PNG support

leptonica doesn't look for libpng in /usr/X11/lib, so it was compiling without PNG support. Added ENV.x11 to help it find it.

I've also added a patch to fix a bug in in the PNG #includes in leptonica 1.68, which will be fixed in the next version.