Date: 05/21/01
- Next message: brianm <email protected>: "[PHP-DEV] Bug #11008: exit() should return an exit status if passed, not send to stdout"
- Previous message: danbeck <email protected>: "[PHP-DEV] Bug #10586 Updated: Wrong parameters in docs for pdf_stringwidth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10593
Updated by: sniper
Reported By: fmajid <email protected>
Old-Status: Open
Status: Closed
Bug Type: GD related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Fixed in CVS. Fix will be in PHP 4.0.6.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-01 19:01:39] fmajid <email protected>
PHP 4.0.5 compilation breaks when building GD with GD 1.5 (the last version with official GIF support), with an error message reporting gdImageGifCtx as undefined. It seems GD detects that GD 1.5 has IOCTX support, but incorrectly assumes that the GIF IOCTX filter (available only with certain unofficial patched versions of GD 1.8.x) is also available.
Applying the following patch will fix the problem, but there is probably a cleaner solution:
*** gd.c~ Mon Mar 12 05:57:53 2001
--- gd.c Tue May 1 15:41:50 2001
***************
*** 911,917 ****
PHP_FUNCTION(imagegif)
{
#ifdef HAVE_GD_GIF
! #ifdef USE_GD_IOCTX
_php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGifCtx);
#else
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGif);
--- 911,917 ----
PHP_FUNCTION(imagegif)
{
#ifdef HAVE_GD_GIF
! #ifdef USE_GD_IOCTX_GIF
_php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGifCtx);
#else
_php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGif);
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10593&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: brianm <email protected>: "[PHP-DEV] Bug #11008: exit() should return an exit status if passed, not send to stdout"
- Previous message: danbeck <email protected>: "[PHP-DEV] Bug #10586 Updated: Wrong parameters in docs for pdf_stringwidth"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

