eed7c62887
All fixes by yours truly.
16 lines
749 B
Plaintext
16 lines
749 B
Plaintext
$OpenBSD: patch-kipi-plugins_rawconverter_rawdecodingiface_cpp,v 1.1 2011/07/08 20:38:01 naddy Exp $
|
|
|
|
Fix build with png-1.5.
|
|
|
|
--- kipi-plugins/rawconverter/rawdecodingiface.cpp.orig Tue Jul 5 16:50:40 2011
|
|
+++ kipi-plugins/rawconverter/rawdecodingiface.cpp Tue Jul 5 16:50:58 2011
|
|
@@ -299,7 +299,7 @@ bool RawDecodingIface::loadedFromDcraw(const QString&
|
|
if (!ICCColorProfile.isEmpty())
|
|
{
|
|
png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE,
|
|
- ICCColorProfile.data(), ICCColorProfile.size());
|
|
+ (png_byte *)ICCColorProfile.data(), ICCColorProfile.size());
|
|
}
|
|
|
|
QString libpngver(PNG_HEADER_VERSION_STRING);
|