| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.1 required=5.0 tests=AWL,BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BG,TW_BP,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <20100518091638.90179.qmail@web3302.mail.ogk.yahoo.co.jp> |
| Date: | Tue, 18 May 2010 18:16:38 +0900 (JST) |
| From: | Tatsuro MATSUOKA <tmacchant2 AT yahoo DOT co DOT jp> |
| Reply-To: | matsuoka AT nuce DOT nagoya-u DOT ac DOT jp |
| Subject: | Re: [ANNOUNCEMENT] Updated: {gd/libgd2/libgd-devel}-2.0.36RC1-11: An open source code library for the dynamic creation of images. |
| To: | cygwin AT cygwin DOT com |
| Cc: | tmacchant2 AT yahoo DOT co DOT jp |
| In-Reply-To: | <announce.7zeihauwa0.fsf@vzell-de.de.oracle.com> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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 DOT volker DOT zell AT oracle DOT 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 DOT com AT cygwin DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |