From f9f55b43a117805e41f249343b8dbb140f15e0ca Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 6 Nov 2020 11:21:58 +0000 Subject: Fix build with PHP 8.0 --- databases/php-tarantool/files/patch-src-tarantool_msgpack.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 databases/php-tarantool/files/patch-src-tarantool_msgpack.c (limited to 'databases/php-tarantool/files/patch-src-tarantool_msgpack.c') diff --git a/databases/php-tarantool/files/patch-src-tarantool_msgpack.c b/databases/php-tarantool/files/patch-src-tarantool_msgpack.c new file mode 100644 index 000000000000..ad47e883931a --- /dev/null +++ b/databases/php-tarantool/files/patch-src-tarantool_msgpack.c @@ -0,0 +1,13 @@ +--- src/tarantool_msgpack.c.orig 2020-06-29 22:41:13 UTC ++++ src/tarantool_msgpack.c +@@ -5,6 +5,10 @@ + + #include "third_party/msgpuck.h" + ++#if PHP_MAJOR_VERSION >= 8 ++#define TSRMLS_FETCH() ++#endif ++ + #ifndef HASH_KEY_NON_EXISTENT + #define HASH_KEY_NON_EXISTENT HASH_KEY_NON_EXISTANT + #endif /* HASH_KEY_NON_EXISTENT */ -- cgit v1.2.3