cvs commit: ports/graphics/imlib2 Makefile
ports/graphics/imlib2/files patch-loader_png.c
Dominic Fandrey
kamikaze at bsdforen.de
Mon Mar 29 11:34:09 UTC 2010
On 29/03/2010 12:49, Ion-Mihai Tetcu wrote:
> On Mon, 29 Mar 2010 12:12:31 +0200
> Dominic Fandrey <kamikaze at 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?
More information about the cvs-all
mailing list