Make changes to allow building against libpng 15

Do you mind submitting a pull request?


On Sun, Jan 6, 2013 at 9:04 AM, Jeremy Reeve <jezz@kamelio.co.uk> wrote:

>
> Hi Miguel,
>
> I was compiling monodevelop from source on my FC17 system and I hit a
> problem when building libgdiplus.
>
> Apparently, the png_info structure definition is no longer publicly
> visible and accessing members directly had been deprecated for some
> time.  The preferred and now the only possible way to access these
> members are via the png_get_*/png_set_* function pairs.
>
> I effected these changes and brought libgdiplus into a state where it at
> least compiles, however, knowing nothing about PNG, libpng or
> libgdiplus, I have more than likely not made these changes optimally or
> even perhaps correctly.
>
> Would you mind reviewing the attached patch and commenting?
>
> I'll submit the patch to the mailing list (if one exists).
>
> Regards...Jeremy
>