View | Details | Raw Unified | Return to bug 145247
Collapse All | Expand All

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

Return to bug 145247