pkgsrc-ng/graphics/kipi-plugins-kde3/patches/patch-kipi-plugins_rawconverter_rawdecodingiface.cpp
2013-09-26 17:14:40 +02:00

16 lines
717 B
C++

$NetBSD: patch-kipi-plugins_rawconverter_rawdecodingiface.cpp,v 1.1 2011/02/06 17:06:48 wiz Exp $
Fix build with png-1.5.
--- kipi-plugins/rawconverter/rawdecodingiface.cpp.orig 2008-12-13 11:20:05.000000000 +0000
+++ kipi-plugins/rawconverter/rawdecodingiface.cpp
@@ -299,7 +299,7 @@ bool RawDecodingIface::loadedFromDcraw(c
if (!ICCColorProfile.isEmpty())
{
png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE,
- ICCColorProfile.data(), ICCColorProfile.size());
+ (png_bytep)ICCColorProfile.data(), ICCColorProfile.size());
}
QString libpngver(PNG_HEADER_VERSION_STRING);