mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
16 lines
717 B
C++
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);
|