summaryrefslogtreecommitdiff
path: root/graphics/inkscape/files/patch-src_sp-image.cpp
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/inkscape/files/patch-src_sp-image.cpp
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
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);