Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 384417 - x11-libs/wxGTK-2.9.1.1 is not libpng 1.5 compatible
Summary: x11-libs/wxGTK-2.9.1.1 is not libpng 1.5 compatible
Status: RESOLVED DUPLICATE of bug 384037
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-25 09:59 UTC by Klaus Kusche
Modified: 2011-09-26 01:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2011-09-25 09:59:29 UTC
Compilation fails:

/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp: In member function 'virtual bool wxPNGHandler::LoadFile(wxImage*, wxInputStream&, bool, int)':
/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp:524:30: error: 'voidp' was not declared in this scope
/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp:581:40: error: invalid use of incomplete type 'struct png_info'
/usr/include/libpng15/png.h:699:16: error: forward declaration of 'struct png_info'
/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp:588:28: error: invalid use of incomplete type 'struct png_info'
/usr/include/libpng15/png.h:699:16: error: forward declaration of 'struct png_info'
/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp:589:28: error: invalid use of incomplete type 'struct png_info'
/usr/include/libpng15/png.h:699:16: error: forward declaration of 'struct png_info'
/var/portage/portage/x11-libs/wxGTK-2.9.1.1/work/wxPython-src-2.9.1.1/src/common/imagpng.cpp:590:28: error: invalid use of incomplete type 'struct png_info'
/usr/include/libpng15/png.h:699:16: error: forward declaration of 'struct png_info'

struct png_info's internals were visible in the libpng header <= 1.4,
but have been hidden in libpng 1.5 (see libpng release notes or man page).
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2011-09-26 01:04:00 UTC

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