Re: [PHP-DEV] 4.3.2RC1: patch to compile with libgd < 2
[email protected] (Jani Taskinen) Tue, 18 Mar 2003 04:25:29 +0200 (EET)
| Newsgroups | php.dev |
|---|---|
| Message-ID | <[email protected]> |
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! ->