4947N/A# graphviz not compiling with php 5.6.
4947N/A# Found this patch. Seems to do the trick for both php 5.3 (32-bit)
4947N/A# and 5.6 (64-bit).
4947N/A# http://www.linuxquestions.org/questions/slackware-14/graphviz-and-current-948363/
4947N/A
4947N/A--- graphviz-2.28.0/tclpkg/gv/gv_php_init.c_orig 2015-10-12 11:47:24.351781429 -0700
4947N/A+++ graphviz-2.28.0/tclpkg/gv/gv_php_init.c 2015-10-12 11:47:53.491500047 -0700
4947N/A@@ -19,11 +19,13 @@
4947N/A
4947N/A static size_t gv_string_writer (GVJ_t *job, const char *s, size_t len)
4947N/A {
4947N/A+ TSRMLS_FETCH();
4947N/A return PHPWRITE(s, len);
4947N/A }
4947N/A
4947N/A static size_t gv_channel_writer (GVJ_t *job, const char *s, size_t len)
4947N/A {
4947N/A+ TSRMLS_FETCH();
4947N/A return PHPWRITE(s, len);
4947N/A }
4947N/A