diff options
author | Remi Collet <remi@remirepo.net> | 2017-09-07 11:10:48 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-09-07 11:10:48 +0200 |
commit | 377ee27b86a76579553ba93d60da812ef0b42ebc (patch) | |
tree | b07ad9ec533306a16e0bab70d89ca898b20641a7 /121.patch | |
parent | d98911290030db4e378ece70b37d2f3858c53bce (diff) |
Diffstat (limited to '121.patch')
-rw-r--r-- | 121.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/121.patch b/121.patch deleted file mode 100644 index 11a7b08..0000000 --- a/121.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 953c723a59fb437fccea9aeaf4c7f69c112f6308 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Sat, 24 Jun 2017 10:59:29 +0200 -Subject: [PATCH 1/2] fix for 7.2 - ---- - .travis.yml | 2 ++ - src/php_tarantool.h | 5 ++++- - 2 files changed, 6 insertions(+), 1 deletion(-) - -diff --git a/src/php_tarantool.h b/src/php_tarantool.h -index 1679eb7..7556671 100644 ---- a/src/php_tarantool.h -+++ b/src/php_tarantool.h -@@ -17,7 +17,10 @@ - # include "config.h" - #endif - --#if PHP_VERSION_ID >= 70000 -+#if PHP_VERSION_ID >= 70200 -+# include <Zend/zend_smart_string.h> -+# define smart_string_alloc4(d, n, what, newlen) smart_string_alloc(d, n, what) -+#elif PHP_VERSION_ID >= 70000 - # include <ext/standard/php_smart_string.h> - #else - # include <ext/standard/php_smart_str.h> - -From b8b1a2efdcf3ced046a5af19ea18f326bc9d7f49 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Sat, 24 Jun 2017 11:11:52 +0200 -Subject: [PATCH 2/2] improve previous - ---- - src/php_tarantool.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/php_tarantool.h b/src/php_tarantool.h -index 7556671..bab2a49 100644 ---- a/src/php_tarantool.h -+++ b/src/php_tarantool.h -@@ -19,7 +19,7 @@ - - #if PHP_VERSION_ID >= 70200 - # include <Zend/zend_smart_string.h> --# define smart_string_alloc4(d, n, what, newlen) smart_string_alloc(d, n, what) -+# define smart_string_alloc4(d, n, what, newlen) newlen = smart_string_alloc(d, n, what) - #elif PHP_VERSION_ID >= 70000 - # include <ext/standard/php_smart_string.h> - #else |