aboutsummaryrefslogtreecommitdiffstats
path: root/editors/calligra
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-29 17:18:46 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-29 17:18:46 +0800
commitc82438c301edd64f182da430ae20ed93297a184d (patch)
tree88e27b66b5952363aac3d59c8a8f4022e9be25a2 /editors/calligra
parente55014f53b9fffdcf16e25c4023967156bc96eed (diff)
downloadfreebsd-ports-gnome-c82438c301edd64f182da430ae20ed93297a184d.tar.gz
freebsd-ports-gnome-c82438c301edd64f182da430ae20ed93297a184d.tar.zst
freebsd-ports-gnome-c82438c301edd64f182da430ae20ed93297a184d.zip
- fix build for png-1.4.1
PR: 145157 Submitted by: Andrei Lavreniyuk
Diffstat (limited to 'editors/calligra')
-rw-r--r--editors/calligra/files/patch-krita_ui_kis_png_converter.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/calligra/files/patch-krita_ui_kis_png_converter.cpp b/editors/calligra/files/patch-krita_ui_kis_png_converter.cpp
new file mode 100644
index 000000000000..fb2ec70cf2bc
--- /dev/null
+++ b/editors/calligra/files/patch-krita_ui_kis_png_converter.cpp
@@ -0,0 +1,14 @@
+
+--- krita/ui/kis_png_converter.cpp.orig 2009-11-20 22:45:35.000000000 +0200
++++ krita/ui/kis_png_converter.cpp 2010-03-29 08:23:02.980338247 +0300
+@@ -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)) {
+ iod->close();
+ return (KisImageBuilder_RESULT_BAD_FETCH);
+ }
+
+