Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 13:34:06 +0200
From:      Dominic Fandrey <kamikaze@bsdforen.de>
To:        Ion-Mihai Tetcu <itetcu@FreeBSD.org>
Cc:        Dirk Meyer <dinoex@FreeBSD.org>, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/graphics/imlib2 Makefile ports/graphics/imlib2/files patch-loader_png.c
Message-ID:  <4BB0902E.6070001@bsdforen.de>
In-Reply-To: <20100329134959.18bf2919@it.buh.tecnik93.com>
References:  <201003290931.o2T9VrXu030819@repoman.freebsd.org>	<4BB07D0F.4090604@bsdforen.de> <20100329134959.18bf2919@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29/03/2010 12:49, Ion-Mihai Tetcu wrote:
> On Mon, 29 Mar 2010 12:12:31 +0200
> Dominic Fandrey <kamikaze@bsdforen.de> wrote:
> 
>> On 29/03/2010 11:31, Dirk Meyer wrote:
>>> dinoex      2010-03-29 09:31:53 UTC
>>>
>>>   FreeBSD ports repository
>>>
>>>   Modified files:
>>>     graphics/imlib2      Makefile 
>>>     graphics/imlib2/files patch-loader_png.c 
>>>   Log:
>>>   - fix code for png-1.4.1
>>>   
>>>   Revision  Changes    Path
>>>   1.136     +1 -1      ports/graphics/imlib2/Makefile
>>>   1.3       +1 -1      ports/graphics/imlib2/files/patch-loader_png.c
>>
>> Why did you rebreak imlib2?
>>
> 
> Trouble is this is the correct code, according to png developers:
> 
> libpng-1.4.1/CHANGES:  Changed png_check_sig() to !png_sig_cmp() in contrib programs.

I tested it and imlib2 does not work.

According to the documentation (http://www.libpng.org/pub/png/libpng-manual.txt):
	png_sig_cmp() ... will return 0 (false) if the bytes match the
	corresponding bytes of the PNG signature

I.e. it should be "png_sig_cmp(...) != 0" or "!png_sig_cmp(..)", just
the oposite of what is done, now.


-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 



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