blob: 22b463431a54b9d2938e49d5d575b4e3787a2027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$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);
|