Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 10:03:33 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: [ HEADS UP ]  Ports unstable for the next 10 days
Message-ID:  <4BB05ED5.8040700@bsdforen.de>
In-Reply-To: <4BB05DA2.4040503@bsdforen.de>
References:  <20100328163828.1f34e0e7@it.buh.tecnik93.com> <4BB05DA2.4040503@bsdforen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB05ED5.8040700>