After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339485 - gimp-2.3.8 uses obsolete png library calls
gimp-2.3.8 uses obsolete png library calls
Status: RESOLVED DUPLICATE of bug 339402
Product: GIMP
Classification: Other
Component: Plugins
2.3.x
Other NetBSD
: Normal major
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-04-23 18:37 UTC by Thomas Klausner
Modified: 2008-01-15 14:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch solving the problem. (784 bytes, patch)
2006-04-23 18:38 UTC, Thomas Klausner
none Details | Review

Description Thomas Klausner 2006-04-23 18:37:45 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.
Comment 1 Thomas Klausner 2006-04-23 18:38:45 UTC
Created attachment 64159 [details] [review]
Patch solving the problem.
Comment 2 Thomas Klausner 2006-04-23 18:40:47 UTC
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.
Comment 3 Karine Delvare 2006-04-23 18:51:38 UTC

*** This bug has been marked as a duplicate of 339402 ***