[ HEADS UP ] Ports unstable for the next 10 days

Dominic Fandrey kamikaze at bsdforen.de
Mon Mar 29 07:48:33 UTC 2010


On 28/03/2010 15:38, Ion-Mihai Tetcu wrote:
> We do _NOT_ recommend updating ports until this commits are all done,
> and the problems are fixed, except if you want to help testing / fixing.

A small fix for graphics/php5-gd. It builds without the patch, but
doesn't work without it.

diff -Nur php5-gd.orig/files/patch-ext-gd-libgd-gd_png.c php5-gd/files/patch-ext-gd-libgd-gd_png.c
--- php5-gd.orig/files/patch-ext-gd-libgd-gd_png.c	1970-01-01 01:00:00.000000000 +0100
+++ php5-gd/files/patch-ext-gd-libgd-gd_png.c	2010-03-29 09:38:38.000000000 +0200
@@ -0,0 +1,11 @@
+--- libgd/gd_png.c.orig	2010-03-29 09:33:02.000000000 +0200
++++ libgd/gd_png.c	2010-03-29 09:35:15.000000000 +0200
+@@ -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;
+ 	}
+ 


More information about the freebsd-ports mailing list