summaryrefslogtreecommitdiffstats
path: root/5.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 13:09:10 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 13:09:10 +0200
commitc60391afab65e634eab6193fb4b6b2423034509f (patch)
tree15ea8a0c5fb6ed48c29ab65f1a56d467c0728ac1 /5.patch
parent624c2ff0aadccacccda934bd3925d268d50bcfe2 (diff)
rebuild for 7.3.0alpha4 new ABI, using patch from https://github.com/php/pecl-database-mysql_xdevapi/pull/5
Diffstat (limited to '5.patch')
-rw-r--r--5.patch83
1 files changed, 83 insertions, 0 deletions
diff --git a/5.patch b/5.patch
new file mode 100644
index 0000000..a545044
--- /dev/null
+++ b/5.patch
@@ -0,0 +1,83 @@
+From 56893f68273cd9d1353645ffc3f39861e39bb7c9 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Wed, 18 Jul 2018 13:03:28 +0200
+Subject: [PATCH] fix for 7.3.0alpha4
+
+---
+ mysqlx_base_result_iterator.cc | 2 ++
+ mysqlx_doc_result_iterator.cc | 2 ++
+ mysqlx_result_iterator.cc | 2 ++
+ mysqlx_row_result_iterator.cc | 2 ++
+ mysqlx_sql_statement_result_iterator.cc | 2 ++
+ 5 files changed, 10 insertions(+)
+
+diff --git a/mysqlx_base_result_iterator.cc b/mysqlx_base_result_iterator.cc
+index 2c9eae4..0a7c315 100644
+--- a/mysqlx_base_result_iterator.cc
++++ b/mysqlx_base_result_iterator.cc
+@@ -193,7 +193,9 @@ void
+ mysqlx_register_base_result_iterator(zend_class_entry * ce)
+ {
+ ce->get_iterator = mysqlx_base_result_create_iterator;
++#if PHP_VERSION_ID < 70300
+ ce->iterator_funcs.funcs = &mysqlx_base_result_iterator_funcs;
++#endif
+
+ zend_class_implements(ce, 1, zend_ce_traversable);
+ }
+diff --git a/mysqlx_doc_result_iterator.cc b/mysqlx_doc_result_iterator.cc
+index 9c57a21..2536ad1 100644
+--- a/mysqlx_doc_result_iterator.cc
++++ b/mysqlx_doc_result_iterator.cc
+@@ -198,7 +198,9 @@ void
+ mysqlx_register_doc_result_iterator(zend_class_entry * ce)
+ {
+ ce->get_iterator = mysqlx_doc_result_create_iterator;
++#if PHP_VERSION_ID < 70300
+ ce->iterator_funcs.funcs = &mysqlx_doc_result_iterator_funcs;
++#endif
+
+ zend_class_implements(ce, 1, zend_ce_traversable);
+ }
+diff --git a/mysqlx_result_iterator.cc b/mysqlx_result_iterator.cc
+index ff52615..46f251c 100644
+--- a/mysqlx_result_iterator.cc
++++ b/mysqlx_result_iterator.cc
+@@ -192,7 +192,9 @@ void
+ mysqlx_register_result_iterator(zend_class_entry * ce)
+ {
+ ce->get_iterator = mysqlx__result_create_iterator;
++#if PHP_VERSION_ID < 70300
+ ce->iterator_funcs.funcs = &mysqlx__result_iterator_funcs;
++#endif
+
+ zend_class_implements(ce, 1, zend_ce_traversable);
+ }
+diff --git a/mysqlx_row_result_iterator.cc b/mysqlx_row_result_iterator.cc
+index a26617d..77eebf9 100644
+--- a/mysqlx_row_result_iterator.cc
++++ b/mysqlx_row_result_iterator.cc
+@@ -192,7 +192,9 @@ void
+ mysqlx_register_row_result_iterator(zend_class_entry * ce)
+ {
+ ce->get_iterator = mysqlx_row_result_create_iterator;
++#if PHP_VERSION_ID < 70300
+ ce->iterator_funcs.funcs = &mysqlx_row_result_iterator_funcs;
++#endif
+
+ zend_class_implements(ce, 1, zend_ce_traversable);
+ }
+diff --git a/mysqlx_sql_statement_result_iterator.cc b/mysqlx_sql_statement_result_iterator.cc
+index 55640b4..a970244 100644
+--- a/mysqlx_sql_statement_result_iterator.cc
++++ b/mysqlx_sql_statement_result_iterator.cc
+@@ -191,7 +191,9 @@ void
+ mysqlx_register_sql_statement_result_iterator(zend_class_entry * ce)
+ {
+ ce->get_iterator = mysqlx_sql_result_create_iterator;
++#if PHP_VERSION_ID < 70300
+ ce->iterator_funcs.funcs = &mysqlx_sql_result_iterator_funcs;
++#endif
+
+ zend_class_implements(ce, 1, zend_ce_traversable);
+ }