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;
+       }
+ 
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to