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_msgpack.c | |
| parent | Update to 0.005 (diff) | |
Fix build with PHP 8.0
Diffstat (limited to '')
| -rw-r--r-- | databases/php-tarantool/files/patch-src-tarantool_msgpack.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 */ |
