[Bug 791] New: Icedtead7 1.14 build fails with libpng 1.5 in splashscreen_png.c

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Sep 23 13:44:37 PDT 2011


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=791

           Summary: Icedtead7 1.14 build fails with libpng 1.5 in
                    splashscreen_png.c
           Product: IcedTea
           Version: 7-1.14
          Platform: all
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea7
        AssignedTo: ahughes at redhat.com
        ReportedBy: roel.aaij at gmail.com
                CC: unassigned at icedtea.classpath.org


Created an attachment (id=573)
 --> (http://icedtea.classpath.org/bugzilla/attachment.cgi?id=573)
patch for splashscreen_png.c

Hi,

This is the first bug I post here, apologies for any ignorance. I searched for
png in existing bug reports, but could not find anything.

Trying to build icedtea7-1.14 with libpng 1.5 installed as system default fails
in splashscreen_png.c. Looking at the libpng manual, the png_struct is no
longer public, while this seems to be expected in splashscreen_png.c. From the
manual I understood that direct access to the members of png_struct has been
replaced by a set of get/set functions. Replacing direct member access by these
functions allows the build to proceed. 

I have not confirmed if this also doesn't crash and really works. The patch is
attached. I guess it should do some png version checks using #ifdefs, but I
have no idea how to go about that.

Greetings, Roel


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the distro-pkg-dev mailing list