summaryrefslogtreecommitdiff
path: root/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kipi-plugins/files/patch-rawdecodingiface.cpp')
-rw-r--r--graphics/kipi-plugins/files/patch-rawdecodingiface.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp b/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp
new file mode 100644
index 000000000000..537790ab0934
--- /dev/null
+++ b/graphics/kipi-plugins/files/patch-rawdecodingiface.cpp
@@ -0,0 +1,11 @@
+--- kipi-plugins/rawconverter/rawdecodingiface.cpp.orig 2008-12-13 12:20:05.000000000 +0100
++++ kipi-plugins/rawconverter/rawdecodingiface.cpp 2012-05-09 12:36:43.000000000 +0200
+@@ -299,7 +299,7 @@
+ if (!ICCColorProfile.isEmpty())
+ {
+ png_set_iCCP(png_ptr, info_ptr, "icc", PNG_COMPRESSION_TYPE_BASE,
+- ICCColorProfile.data(), ICCColorProfile.size());
++ (const png_byte *)ICCColorProfile.data(), ICCColorProfile.size());
+ }
+
+ QString libpngver(PNG_HEADER_VERSION_STRING);