Bug 33405 - png-1.5 compatibility fix
Summary: png-1.5 compatibility fix
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 05:06 UTC by Thomas Klausner
Modified: 2011-01-24 11:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch fixing the problem. (255 bytes, application/octet-stream)
2011-01-24 05:06 UTC, Thomas Klausner
Details

Description Thomas Klausner 2011-01-24 05:06:35 UTC
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.
Comment 1 Thomas Klausner 2011-01-24 05:07:05 UTC
The patch is against poppler-0.14.5, but the problem is still there in git master.
Comment 2 Albert Astals Cid 2011-01-24 11:05:47 UTC
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.