|
From: Tatsuro M. <tma...@ya...> - 2010-03-07 02:54:22
|
Hello
This is just a note for those who try to build the libgd with libpng-1.4.
I have update the libpng version of which is 1.4.
>From the libpng-1.4, the function 'png_check_sig' is removed.
The change makes the libgd building in failure.
./.libs/libgd.a(gd_png.o):gd_png.c:(.text+0xd20): undefined reference to `png_check_sig'
The function png_check_sig can be replaced as
replace
png_check_sig(buf, 8)
with
png_sig_cmp(buf, 0, 8) == 0
http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
A patch has been posted the below,
http://bugs.libgd.org/?do=details&task_id=218&histring=png_check_sig
Regards
Tatsuro
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/
|