[ 15%] Building CXX object ksplash/ksplashx/CMakeFiles/ksplashx.dir/qpngio.o /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp: In function ‘void setup_qt(QImage&, png_struct*, png_info*, float)’: /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:120:33: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:157:25: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:167:17: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:175:54: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:181:26: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:183:15: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:184:15: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:185:15: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:189:15: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:196:22: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:198:11: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:199:11: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:200:11: error: invalid use of incomplete type ‘struct png_info’ /usr/include/png.h:670:16: error: forward declaration of ‘struct png_info’ /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp: In function ‘QImage splash_read_png_image(FILE*)’: /var/tmp/portage/kde-base/ksplash-4.6.0/work/ksplash-4.6.0/ksplash/ksplashx/qpngio.cpp:283:9: error: invalid use of incomplete type ‘struct png_struct’ /usr/include/png.h:803:16: error: forward declaration of ‘struct png_struct’ make[2]: *** [ksplash/ksplashx/CMakeFiles/ksplashx.dir/qpngio.o] Error 1
Created attachment 262957 [details, diff] ksplash libpng 1.5 fix from git master untested and not yet backported to 4.6, but since there were not much changes in ksplash, i guess it will work
The patch doesn't fix the problem.
here's the other part: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=0323d1c21d7b24fba71137112cd3712cbf669dad
Both 4.6.1 and 4.6.2 have the fix. Since 4.6.0 is not stable candidate and is overshadowed as-is closing as fixed.