aboutsummaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 11:18:09 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 11:18:09 +0000
commit0ea22a27cfaf3e708741a528d55ef109abb694c0 (patch)
treed2ffd257072484554aae42c27aa3d095234aa9d7 /print
parent7357834e3283381ba6c8881414b69f475df15fc2 (diff)
downloadports-0ea22a27cfaf3e708741a528d55ef109abb694c0.tar.gz
ports-0ea22a27cfaf3e708741a528d55ef109abb694c0.zip
Notes
Diffstat (limited to 'print')
-rw-r--r--print/panda/files/patch-images.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/print/panda/files/patch-images.c b/print/panda/files/patch-images.c
new file mode 100644
index 000000000000..d0df3fa6bbd0
--- /dev/null
+++ b/print/panda/files/patch-images.c
@@ -0,0 +1,20 @@
+--- images.c.orig 2004-04-13 02:46:24.000000000 +0200
++++ images.c 2010-03-29 12:55:47.000000000 +0200
+@@ -854,7 +854,7 @@
+
+ // Check that it really is a PNG file
+ fread (sig, 1, 8, image);
+- if (!png_check_sig (sig, 8))
++ if (png_sig_cmp (sig, 0, 8))
+ panda_error (panda_true, "PNG file was invalid");
+
+ // Start decompressing
+@@ -1411,7 +1411,7 @@
+
+ // Check that it really is a PNG file
+ fread (sig, 1, 8, image);
+- if (!png_check_sig (sig, 8))
++ if (png_sig_cmp (sig, 0, 8))
+ panda_error (panda_true, "PNG file was invalid");
+
+ // Start decompressing