Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384417

Summary: x11-libs/wxGTK-2.9.1.1 is not libpng 1.5 compatible
Product: Gentoo Linux Reporter: Klaus Kusche <klaus.kusche>
Component: Current packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 ***