diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-11-06 11:21:58 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-11-06 11:21:58 +0000 |
commit | f9f55b43a117805e41f249343b8dbb140f15e0ca (patch) | |
tree | c66e3141076c69d1f509dc4be5435c2c433fabc5 /databases/php-tarantool/files/patch-src-tarantool.c | |
parent | Update to 0.005 (diff) |
Fix build with PHP 8.0
Notes
Notes:
svn path=/head/; revision=554219
Diffstat (limited to '')
-rw-r--r-- | databases/php-tarantool/files/patch-src-tarantool.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/php-tarantool/files/patch-src-tarantool.c b/databases/php-tarantool/files/patch-src-tarantool.c new file mode 100644 index 000000000000..ef3aa0e55cc1 --- /dev/null +++ b/databases/php-tarantool/files/patch-src-tarantool.c @@ -0,0 +1,15 @@ +--- src/tarantool.c.orig 2020-06-29 22:41:13 UTC ++++ src/tarantool.c +@@ -14,6 +14,12 @@ + + #include "utils.h" + ++#if PHP_MAJOR_VERSION >= 8 ++#define TSRMLS_CC ++#define TSRMLS_DC ++#define TSRMLS_FETCH() ++#endif ++ + static int __tarantool_authenticate(tarantool_connection *obj); + static void tarantool_stream_close(tarantool_connection *obj); + |