Date: Mon, 29 Mar 2010 10:15:23 +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: <4BB0619B.2000805@bsdforen.de> In-Reply-To: <20100328163828.1f34e0e7@it.buh.tecnik93.com> References: <20100328163828.1f34e0e7@it.buh.tecnik93.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. The already committed graphics/imlib2 patch does not work, i.e. it compiles, but png doesn't work, with this one it does: diff -Nur imlib2.orig/files/patch-loader_png.c imlib2/files/patch-loader_png.c --- imlib2.orig/files/patch-loader_png.c 2010-03-29 10:12:43.000000000 +0200 +++ imlib2/files/patch-loader_png.c 2010-03-29 10:08:41.000000000 +0200 @@ -5,7 +5,7 @@ /* if we haven't 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_check_sig(buf, 0, 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?4BB0619B.2000805>