summaryrefslogtreecommitdiff
path: root/source/kde/koffice/koffice.krita.png14.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/koffice/koffice.krita.png14.diff')
-rw-r--r--source/kde/koffice/koffice.krita.png14.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/kde/koffice/koffice.krita.png14.diff b/source/kde/koffice/koffice.krita.png14.diff
new file mode 100644
index 00000000..252107de
--- /dev/null
+++ b/source/kde/koffice/koffice.krita.png14.diff
@@ -0,0 +1,11 @@
+--- ./krita/ui/kis_png_converter.cpp.orig 2010-01-08 04:42:41.000000000 -0600
++++ ./krita/ui/kis_png_converter.cpp 2010-02-25 12:01:11.000000000 -0600
+@@ -404,7 +404,7 @@
+
+ png_byte signature[8];
+ iod->peek((char*)signature, 8);
+- if (!png_check_sig(signature, 8)) {
++ if (!(png_sig_cmp(signature, 0, 8) == 0)) {
+ iod->close();
+ return (KisImageBuilder_RESULT_BAD_FETCH);
+ }