aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 09:18:46 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 09:18:46 +0000
commitb3885803b887b90fb9d11a05cf36cce319ef00a9 (patch)
treee88e4f6d5535046e8c10552f5f1028f7ab0d1da8 /editors
parent370350578bdbd0fd22b8d65b78f2f48755dcb938 (diff)
downloadports-b3885803b887b90fb9d11a05cf36cce319ef00a9.tar.gz
ports-b3885803b887b90fb9d11a05cf36cce319ef00a9.zip
- fix build for png-1.4.1
PR: 145157 Submitted by: Andrei Lavreniyuk
Notes
Notes: svn path=/head/; revision=251705
Diffstat (limited to 'editors')
-rw-r--r--editors/calligra/files/patch-krita_ui_kis_png_converter.cpp14
-rw-r--r--editors/koffice-kde4/files/patch-krita_ui_kis_png_converter.cpp14
2 files changed, 28 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);
+ }
+
+
diff --git a/editors/koffice-kde4/files/patch-krita_ui_kis_png_converter.cpp b/editors/koffice-kde4/files/patch-krita_ui_kis_png_converter.cpp
new file mode 100644
index 000000000000..fb2ec70cf2bc
--- /dev/null
+++ b/editors/koffice-kde4/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);
+ }
+
+