Created attachment 56385 [details] Patch fixing the problem. In png-1.5, the prototype for png_set_iCCCP changed. The fifth argument was a png_charp and is now a png_bytep. This breaks compilation, similar to https://bugs.kde.org/show_bug.cgi?id=264181 This problem still exists in SVN trunk from a few minutes ago. I've attached a patch for kipi-plugins-1.6.0 that fixes the problem with 1.5.0. It probably needs changes to still work against older versions (which I don't have installed).
Andrew Coles fixed a similar problem for digikam in https://bugs.kde.org/show_bug.cgi?id=264181 modifying my patch so that it works with png-1.4 as well.
Andrew, Can you manage this file too about libpng 1.5 issue, at the same time than #264181 ? Thanks in advance Gilles Caulier
SVN commit 1216971 by coles: Added support for libpng 1.5. As there's only one place in the file affected by the API change, it's done with an #if at the point where it's needed. BUG: 264184 M +8 -0 kpwriteimage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1216971