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 640394 - Don't use jmpbuf of private structure, removed in libpng 1.5
Don't use jmpbuf of private structure, removed in libpng 1.5
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
: 640404 641385 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-01-24 10:41 UTC by Maarten Bosmans
Modified: 2011-03-02 01:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use png_jmpbuf macro (2.05 KB, patch)
2011-01-24 10:41 UTC, Maarten Bosmans
none Details | Review

Description Maarten Bosmans 2011-01-24 10:41:09 UTC
Created attachment 179145 [details] [review]
Use png_jmpbuf macro

The structure is made private in libpng 1.5. Accessing the field can be done with the png_jmpbuf macro. According to comments in the libpng distribution, this macro is available from libpng 1.0.6.
Comment 1 Kazuki Iwamoto 2011-01-30 06:27:21 UTC
(In reply to comment #0)
This patch solves the problem. I've verified that io-png.c is compilable with libpng 1.5.
Comment 2 Jon Nordby 2011-03-02 01:37:52 UTC
Committed. Thanks!
Comment 3 Jon Nordby 2011-03-02 01:46:46 UTC
*** Bug 640404 has been marked as a duplicate of this bug. ***
Comment 4 Jon Nordby 2011-03-02 01:53:19 UTC
*** Bug 641385 has been marked as a duplicate of this bug. ***