aboutsummaryrefslogtreecommitdiff
path: root/graphics/inkscape/files/patch-src_sp-image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/inkscape/files/patch-src_sp-image.cpp')
-rw-r--r--graphics/inkscape/files/patch-src_sp-image.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/inkscape/files/patch-src_sp-image.cpp b/graphics/inkscape/files/patch-src_sp-image.cpp
new file mode 100644
index 000000000000..6b1fed560818
--- /dev/null
+++ b/graphics/inkscape/files/patch-src_sp-image.cpp
@@ -0,0 +1,11 @@
+--- src/sp-image.cpp.orig 2011-07-08 20:25:09.468790000 +0200
++++ src/sp-image.cpp 2012-05-05 08:06:14.000000000 +0200
+@@ -388,7 +388,7 @@
+ {
+ char* name = 0;
+ int compression_type = 0;
+- char* profile = 0;
++ png_byte * profile = 0;
+ png_uint_32 proflen = 0;
+ if ( png_get_iCCP(pngPtr, infoPtr, &name, &compression_type, &profile, &proflen) ) {
+ // g_message("Found an iCCP chunk named [%s] with %d bytes and comp %d", name, proflen, compression_type);