Bug 843330 - libgdiplus FTBFS with current libpng
Summary: libgdiplus FTBFS with current libpng
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libgdiplus
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Krause
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-26 04:06 UTC by Tom Lane
Modified: 2013-07-03 03:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-26 22:47:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch (6.15 KB, patch)
2012-07-26 04:06 UTC, Tom Lane
no flags Details | Diff

Description Tom Lane 2012-07-26 04:06:00 UTC
Created attachment 600433 [details]
proposed patch

Description of problem:
libgdiplus has failed to rebuild in the last two mass Fedora rebuilds.  The reason is that pngcodec.c expects it can access the contents of the PNG info struct, which is no longer made visible by libpng 1.5.

I attach a patch that I think fixes it.  It compiles anyway, which is a step forward, but I don't know anything about testing libgdiplus's PNG-reading functionality.

Version-Release number of selected component (if applicable):
libgdiplus-2.10-5.fc18

How reproducible:
100%

Steps to Reproduce:
1. Try to build in rawhide or F-17.

Comment 1 Christian Krause 2012-07-26 22:47:49 UTC
I have built libgdiplus in RAWHIDE using the following patch from gentoo:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-dotnet/libgdiplus/files/libgdiplus-2.10.1-libpng15.patch?revision=1.1

To verify the PNG functionality I tried successfully:

- run the tests included in libgdiplus
- run some mono (winforms) applications which loads PNGs


RAWHIDE build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=344329


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