php_5.4_compat.patch 546 B

123456789101112131415161718
  1. diff -Naur graphviz-2.28.0.orig/tclpkg/gv/gv_php_init.c graphviz-2.28.0/tclpkg/gv/gv_php_init.c
  2. --- graphviz-2.28.0.orig/tclpkg/gv/gv_php_init.c 2011-01-25 17:30:51.000000000 +0100
  3. +++ graphviz-2.28.0/tclpkg/gv/gv_php_init.c 2012-05-30 04:10:40.657221055 +0200
  4. @@ -19,11 +19,13 @@
  5. static size_t gv_string_writer (GVJ_t *job, const char *s, size_t len)
  6. {
  7. + TSRMLS_FETCH();
  8. return PHPWRITE(s, len);
  9. }
  10. static size_t gv_channel_writer (GVJ_t *job, const char *s, size_t len)
  11. {
  12. + TSRMLS_FETCH();
  13. return PHPWRITE(s, len);
  14. }