[ANNOUNCEMENT] Updated: {gd/libgd2/libgd-devel}-2.0.36RC1-11: An open source code library for the dynamic creation of images.
Tatsuro MATSUOKA
tmacchant2@yahoo.co.jp
Tue May 18 11:47:00 GMT 2010
Hello
I'm glad to see that libgd2 is updated to fix the fontconfig related bug.
I aplogized that I have not told that gd_png.c should be modified
when linking with the libpng-1.4, which is current release of the libpng.
The gd_png.c in gd-2.0.36RC1 uses the function png_check_sig in the libpng-1.2 or earlier.
However the png_check_sig is removed from the libpng-1.4.
In the libpng-1.4.1.txt in the libpng-1.4 source from the line 3007,
one finds the following
***********************************
The function
png_check_sig(sig, num)
was replaced with
!png_sig_cmp(sig, 0, num)
It has been deprecated since libpng-0.90.
***********************************
Therefore the patch will below is required for when linking with the libpng-1.4.
************************************************
--- gd_png.c.orig 2007-11-27 17:30:34 +0900
+++ gd_png.c 2010-03-10 10:32:06 +0900
@@ -151,7 +151,7 @@
return NULL;
}
- if (!png_check_sig (sig, 8)) { /* bad signature */
+ if (png_sig_cmp(sig, 0, 8) != 0) { /* bad signature */
return NULL; /* bad signature */
}
*****************************************
Currently the version of the linpng in cygwin is 1.2 so that png_check_sig does not cause error.
When the libpng on the cygwin will updated, please apply the above patch and update libgd.
I wrote the above for your information.
Regards
Tatsuro
--- "Dr. Volker Zell" <dr.volker.zell@oracle.com> wrote:
> Hi
>
> New versions of 'gd/libgd2/libgd-devel' have been uploaded to a server near you.
>
>
> Cygwin NEWS:
> ============
>
> o Fixed bug for the treatment of fontconfig libraries
>
>
>
> CYGWIN-ANNOUNCE UNSUBSCRIBE INFO
> ================================
>
>
> If you want to unsubscribe from the cygwin-announce mailing list, please
> use the automated form at:
>
>
> http://cygwin.com/lists.html#subscribe-unsubscribe
>
> If this does not work, then look at the "List-Unsubscribe: " tag in the
> email header of this message. Send email to the address specified
> there. It will be in the format:
>
>
> cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com
>
> If you need more information on unsubscribing, start reading here:
>
> http://sourceware.org/lists.html#unsubscribe-simple
>
> Please read *all* of the information on unsubscribing that is available
> starting at this URL.
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
>
--------------------------------------
2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/southafrica2010/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list