Hello,
I've just joined the list to send this patch hoping
this helps
with the development of PHP...
I wanted to build PHP 4.2.3 against gd 2.0.4
(latest
version) and it would compile.
I found the problem is one member of
the
gdIOCtx struct in gd_io.h has been renamed
from
"free" to "gd_free". Dunno if this change is
present
in gd 2.0.2 and 2.0.3 but it is in 2.0.4 and it
wasn't
in 2.0.1
So the solution is straightforward, just
replace
->free with ->gd_free and it'll
compile...
I was wondering if someone else got this
issue
and also wondering how to properly fix
it..
How should the source of the gd
extension
be hacked to allow compilation against GD
2.0.1
and GD 2.0.4???
I'm attaching a patch, the changes are in
gd_ctx.c
and gd.c under ../ext/gd in the PHP 4.2.3
tree.
Thanks
Antonio Ognio
Lima,Peru
|
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php