Re: 4.3.2RC1: patch to compile with libgd < 2

From: Date: Tue, 18 Mar 2003 02:25:29 +0000
Subject: Re: 4.3.2RC1: patch to compile with libgd < 2
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-95198@lists.php.net to get a copy of this message
Please try the latest STABLE cvs snapshot from http://snaps.php.net as this seems to be fixed already. --Jani On Sat, 15 Mar 2003, Roberto Biancardi wrote: >--- ext/gd/gdttf.c.orig Sat Mar 15 22:38:28 2003 >+++ ext/gd/gdttf.c Sat Mar 15 22:42:42 2003 >@@ -744,9 +744,13 @@ > if (tweencolorkey.pixel > 0) { > x3 = x2 + col; > if (x3 >= im->sx || x3 < 0) continue; >+#if HAVE_LIBGD20 > if (im->trueColor) { > pixel = &im->tpixels[y3][x3]; > } else { >+#else >+ { >+#endif > #if HAVE_LIBGD13 > pixel = &im->pixels[y3][x3]; > #else > > -- <- For Sale! ->

« previous php.dev (#95198) next »