Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/php5-gd/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 29 Dec 2009 14:39:10 -0000 1.5 +++ Makefile 31 Mar 2010 17:50:38 -0000 @@ -5,6 +5,8 @@ # $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 Index: files/patch-libgd-gd_png.c =================================================================== RCS file: files/patch-libgd-gd_png.c diff -N files/patch-libgd-gd_png.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-libgd-gd_png.c 31 Mar 2010 17:50:38 -0000 @@ -0,0 +1,11 @@ +--- 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 */ + return NULL; + } +