# $FreeBSD: ports/graphics/php5-gd/Makefile,v 1.5 2009/12/29 14:39:10 ale Exp $
#
PORTREVISION= 1
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php5
--- libgd/gd_png.c.orig 2009-03-14 17:48:42.000000000 +0000
+++ libgd/gd_png.c 2010-03-31 17:42:38.379221901 +0000
@@ -139,7 +139,7 @@
return NULL;
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
+ if (!(png_sig_cmp(sig, 0, 8) == 0)) { /* bad signature */