aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 19:44:23 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 19:44:23 +0000
commitd42a343612314177c1648cfdfad6d03ba2e347ee (patch)
tree80ea1c06c60f4bbaad4046d9b79cbf929128f90e /x11
parent1bdd4db87ab75b9a785e5d78f895a4b3da1932e8 (diff)
downloadports-d42a343612314177c1648cfdfad6d03ba2e347ee.tar.gz
ports-d42a343612314177c1648cfdfad6d03ba2e347ee.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/fbdesk/files/patch-ImagePNG.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/fbdesk/files/patch-ImagePNG.cc b/x11/fbdesk/files/patch-ImagePNG.cc
new file mode 100644
index 000000000000..40c49462c946
--- /dev/null
+++ b/x11/fbdesk/files/patch-ImagePNG.cc
@@ -0,0 +1,11 @@
+--- src/FbTk/ImagePNG.cc.orig 2004-09-20 16:04:11.000000000 +0200
++++ src/FbTk/ImagePNG.cc 2010-03-29 21:44:37.000000000 +0200
+@@ -88,7 +88,7 @@
+ // check header
+ unsigned char tag[4];
+ fread(tag, 1, 4, fp);
+- if (!png_check_sig(tag, 4)) {
++ if (png_sig_cmp(tag, 0, 4)) {
+ fclose(fp);
+ return 0;
+ }