GNOME Bugzilla – Bug 339485
gimp-2.3.8 uses obsolete png library calls
Last modified: 2008-01-15 14:06:30 UTC
gimp's png plugin uses png_write_destroy, which is obsolete since png-0.95 and will be removed in the next major png release. Attached is a patch to convert it to use png_destroy_read_struct. Probably the whole code should be reviewed, but this solves compilation problems against a libpng library that does not provide the compat functions any longer.
Created attachment 64159 [details] [review] Patch solving the problem.
Oh, a similar patch also applies to gimp-2.2.11, please let me know if I should open a bug report and/or supply the patch.
*** This bug has been marked as a duplicate of 339402 ***