Summary: | png-1.5 compatibility fix | ||
---|---|---|---|
Product: | poppler | Reporter: | Thomas Klausner <tk> |
Component: | general | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Patch fixing the problem. |
The patch is against poppler-0.14.5, but the problem is still there in git master. Fixed, thanks |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 42368 [details] Patch fixing the problem. png-1.5 stopped automatically including zlib.h. Since poppler needs symbols from there (for setting the compression level), it doesn't build against png-1.5. Please include zlib.h. A simple patch is attached, you might want a more complicated one that checks for zlib.h's existence first -- however, when png.h exists, zlib.h should usually also exist.