#20938 [Opn->Csd]: Error compiling php with newer version (i.e. 2.0.6) of gdlib
| From: | iliaa@php.net | Date: | Wed, 11 Dec 2002 15:16:00 +0000 |
| Subject: | #20938 [Opn->Csd]: Error compiling php with newer version (i.e. 2.0.6) of gdlib | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27351@lists.php.net to get a copy of this message | ||
ID: 20938
Updated by: iliaa@php.net
Reported By: klaus.braun@geographie.uni-freiburg.de
-Status: Open
+Status: Closed
Bug Type: GD related
Operating System: Solaris 8
PHP Version: 4.2.3
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-12-11 09:09:51] klaus.braun@geographie.uni-freiburg.de
Newer versions of gdlib (I am using version 2.0.6) use
*gd_free in structure gdIOCtx* instead of *free. So in
gd_ctx.c on lines 70 and 98 one has to use
ctx->gd_free = _php_image_output_ctxfree;
and
ctx->gd_free(ctx);
instead of
ctx->free = _php_image_output_ctxfree;
and
ctx->free(ctx);
The same applies to gd.c on lines 1014, 1017 and 1209.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20938&edit=1