summaryrefslogtreecommitdiffstats
path: root/kde/koffice/libpng14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'kde/koffice/libpng14.patch')
-rw-r--r--kde/koffice/libpng14.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde/koffice/libpng14.patch b/kde/koffice/libpng14.patch
new file mode 100644
index 000000000..f4e8da5b1
--- /dev/null
+++ b/kde/koffice/libpng14.patch
@@ -0,0 +1,11 @@
+--- krita/ui/kis_png_converter.cpp.old 2010-01-20 17:48:11.890898029 +0100
++++ krita/ui/kis_png_converter.cpp 2010-01-20 17:50:13.477553307 +0100
+@@ -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);
+ }