ID:               46015
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Fedora at FamilleCollet dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         GD related
 Operating System: Linux (Fedora 9)
 PHP Version:      5.3.0alpha2
-Assigned To:      
+Assigned To:      pajoye


Previous Comments:
------------------------------------------------------------------------

[2008-09-07 07:21:45] Fedora at FamilleCollet dot com

Description:
------------
Build fails when trying to use system GD

--with-gd=shared,/usr

This is because gdhelpers only provided by bundled library.

Trivial patch proposal :
--- ext/gd/gd.c.orig    2008-09-07 08:53:38.000000000 +0200
+++ ext/gd/gd.c 2008-09-07 08:54:03.000000000 +0200
@@ -74,7 +74,9 @@
 #include <gdfontmb.h> /* 3 Medium bold font */
 #include <gdfontl.h>  /* 4 Large font */
 #include <gdfontg.h>  /* 5 Giant font */
+#if HAVE_GD_BUNDLED
 #include <gdhelpers.h>
+#endif
 
 #ifdef HAVE_GD_WBMP
 #include "libgd/wbmp.h"

Reproduce code:
---------------
make

Expected result:
----------------
Build complete.

Actual result:
--------------
Build failed.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46015&edit=1

Reply via email to