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