Subject: A fix to gd-2.0.36RC1
From: Tatsuro MATSUOKA <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Sun, 21 Mar 2010 06:55:45 +0900 (JST)
List-Id: <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