[ HEADS UP ] Ports unstable for the next 10 days

Dominic Fandrey kamikaze at bsdforen.de
Mon Mar 29 08:03:35 UTC 2010


On 29/03/2010 09:58, Dominic Fandrey wrote:
> 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.
> 
> Fix for graphics/evas-loader-png.

Sorry, wrong patch. This is the one:

diff -Nur evas-loader-png.orig/files/patch-src-modules-loaders-png-evas_image_load_png.c evas-loader-png/files/patch-src-modules-loaders-png-evas_image_load_png.c
--- evas-loader-png.orig/files/patch-src-modules-loaders-png-evas_image_load_png.c	1970-01-01 01:00:00.000000000 +0100
+++ evas-loader-png/files/patch-src-modules-loaders-png-evas_image_load_png.c	2010-03-29 10:01:37.000000000 +0200
@@ -0,0 +1,20 @@
+--- src/modules/loaders/png/evas_image_load_png.c.orig	2007-10-28 11:35:13.000000000 +0100
++++ src/modules/loaders/png/evas_image_load_png.c	2010-03-29 10:01:31.000000000 +0200
+@@ -44,7 +44,7 @@
+ 	fclose(f);
+ 	return 0;
+      }
+-   if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++   if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK) != 0)
+      {
+ 	fclose(f);
+ 	return 0;
+@@ -121,7 +121,7 @@
+ 
+    /* if we havent read the header before, set the header data */
+    fread(buf, 1, PNG_BYTES_TO_CHECK, f);
+-   if (!png_check_sig(buf, PNG_BYTES_TO_CHECK))
++   if (png_sig_cmp(buf, 0, PNG_BYTES_TO_CHECK) != 0)
+      {
+ 	fclose(f);
+ 	return 0;


More information about the freebsd-ports mailing list