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.
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