Bug 751583 - DevIL patch needed for libpng15 upgrade
Summary: DevIL patch needed for libpng15 upgrade
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: DevIL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-05 23:16 UTC by John Ellson
Modified: 2011-11-21 08:37 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-21 08:37:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to allow DevIL to build with libpng15 (976 bytes, patch)
2011-11-05 23:16 UTC, John Ellson
no flags Details | Diff

Description John Ellson 2011-11-05 23:16:51 UTC
Created attachment 531913 [details]
patch to allow DevIL to build with libpng15

Description of problem:
Patch needed to build DevIL against libpng15

(I was trying to get ahead of the curve to see how much trouble I was in with graphviz)

Version-Release number of selected component (if applicable):
DevIL-1.7.8-6

How reproducible:
100%

Steps to Reproduce:
1. upgrade to libpng15 (from koji)
2. try to rebuild DevIL
3.
  
Actual results:
Build fails because png_set_gray_1_2_4_to_8() has been renamed to png_set_expand_gray_1_2_4_to_8()

Expected results:


Additional info:
proposed patch attached

Comment 1 Tom Lane 2011-11-07 17:33:52 UTC
Note --- in my test runs, it also appeared that DevIL had a hard-wired reference to libpng12 in its configure.in.  That needs to be changed to libpng15, in addition to the above.

Comment 2 Hans de Goede 2011-11-21 08:37:14 UTC
Thanks for the patch! I've done a new build for rawhide using your patch and fixing the -lpng12 versus -lpng15 problem.


Note You need to log in before you can comment on or make changes to this bug.