summaryrefslogtreecommitdiff
path: root/graphics/gd/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-28 09:34:32 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-28 09:34:32 +0000
commit37b8b6d26b3778f6876baa918e65fd02c6792c42 (patch)
treecf96e933f4ccd7ae147b3c31fbc78d547557181a /graphics/gd/files
parent- Upgrade to 0.06. (diff)
- fix check, so png is detected.
Submitted by: tron@freenode
Notes
Notes: svn path=/head/; revision=251615
Diffstat (limited to 'graphics/gd/files')
-rw-r--r--graphics/gd/files/patch-gd_png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/gd/files/patch-gd_png.c b/graphics/gd/files/patch-gd_png.c
index 42c677ae41f3..d0af770b29da 100644
--- a/graphics/gd/files/patch-gd_png.c
+++ b/graphics/gd/files/patch-gd_png.c
@@ -5,7 +5,7 @@
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
-+ if (!png_sig_cmp (sig, 0, 8)) { /* bad signature */
++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
return NULL; /* bad signature */
}