Summary: | kde-base/kdelibs-4.7.1 fails to compile with libpng15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Francesco Riosa <vivo75> |
Component: | Current packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Jens.Rutschmann |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 354479 | ||
Attachments: |
kdelibs-4.7.1:20110920-220338.log.gz
kdelibs-4.7.1-libpng15.diff |
Description
Francesco Riosa
2011-09-21 10:47:27 UTC
> kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp:201:13: error: invalid use of > incomplete type 'png_struct'
> /usr/include/png.h:827:16: error: forward declaration of 'png_struct'
from attached build.log
(In reply to comment #1) > > kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp:201:13: error: invalid use of > incomplete type 'png_struct' > > /usr/include/png.h:827:16: error: forward declaration of 'png_struct' > > from attached build.log Hi, I'm here now, /* The complete definition of png_struct has, as of libpng-1.5.0, * been moved into a separate header file that is not accessible to * applications. Read libpng-manual.txt or libpng.3 for more info. */ typedef struct png_struct_def png_struct; typedef PNG_CONST png_struct FAR * png_const_structp; typedef png_struct FAR * png_structp; ... /usr/share/doc/libpng-1.5.4/libpng-manual.txt.lzma or `man 3 libpng` in the section "II. Structures" explain what to do. May/should I give some more information from my system? Created attachment 287481 [details, diff] kdelibs-4.7.1-libpng15.diff I'm writing this on behalf of ssuominen. Seems like the affected line can easily be commented out without problems. Mandriva is doing the same: http://comments.gmane.org/gmane.linux.mandrake.cooker.commits/276759 (In reply to comment #3) > Created attachment 287481 [details, diff] > kdelibs-4.7.1-libpng15.diff > > I'm writing this on behalf of ssuominen. > Seems like the affected line can easily be commented out without problems. > Mandriva is doing the same: > > http://comments.gmane.org/gmane.linux.mandrake.cooker.commits/276759 indeed it work, opening konqueror and looking at some png in the internet work too Patch added in kdelibs-4.7.1-r1 and later. |