From 320b4ed40cfe55573bff225130a91e582e0af88c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 14 Sep 2016 20:41:16 +0200 Subject: PHP 7.1.0RC2 (SCL) + extension mass rebuild --- msgpack-php71.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 msgpack-php71.patch (limited to 'msgpack-php71.patch') diff --git a/msgpack-php71.patch b/msgpack-php71.patch new file mode 100644 index 0000000..bab1d2a --- /dev/null +++ b/msgpack-php71.patch @@ -0,0 +1,21 @@ +diff --git a/msgpack_unpack.h b/msgpack_unpack.h +index 5dc9524..0851625 100644 +--- a/msgpack_unpack.h ++++ b/msgpack_unpack.h +@@ -16,6 +16,16 @@ typedef enum + MSGPACK_UNPACK_PARSE_ERROR = -1, + } msgpack_unpack_return; + ++#if PHP_VERSION_ID >= 70100 ++typedef struct php_unserialize_data { ++ void *first; ++ void *last; ++ void *first_dtor; ++ void *last_dtor; ++ HashTable *allowed_classes; ++}; ++#endif ++ + typedef struct php_unserialize_data msgpack_unserialize_data_t; + + typedef struct { -- cgit