X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 	tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
Message-ID: <20100320215545.63323.qmail@web3306.mail.ogk.yahoo.co.jp>
Date: Sun, 21 Mar 2010 06:55:45 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>
Reply-To: matsuoka@nuce.nagoya-u.ac.jp
Subject: A fix to gd-2.0.36RC1
To: cygwin@cygwin.com
Cc: tmacchant2@yahoo.co.jp
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-jp
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello

A problem was occurred on gnuplot executable linked the gd-2.0.36RC1 libraries linked with fontconfig
available by cygwin setup.exe.

I have reported it on the gnuplot list. 

http://old.nabble.com/gd-and-fontconfig-to27967801.html

The problem can be solved the patch,

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
--- gd-2.0.36RC1/gdft.c      2007-11-27 00:30:34.000000000 -0800 
+++ gd-fixed/gdft.c          2009-05-20 20:22:13.000000000 -0700 
@@ -1661,7 +1661,7 @@ static char * font_path(char **fontpath, 
 BGD_DECLARE(int) gdFTUseFontConfig(int flag) 
 { 
 #ifdef HAVE_LIBFONTCONFIG 
-       fontConfigFlag = 1; 
+       fontConfigFlag = flag; 
        return 1; 
 #else 
        return 0; 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 

Is there a possibility that the gd-library will be modified with the above patch of the cygwin
distribution tree?

Regards

Tatsuro 

--------------------------------------
VANCOUVER 2010 PARALYMPIC GAMES News
http://pr.mail.yahoo.co.jp/para/

--
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

