Bug 751583

Summary: DevIL patch needed for libpng15 upgrade
Product: [Fedora] Fedora Reporter: John Ellson <john.ellson>
Component: DevILAssignee: Hans de Goede <hdegoede>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hdegoede, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-21 08:37:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to allow DevIL to build with libpng15 none

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.