summaryrefslogtreecommitdiffstats
path: root/dbus-svn.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-02-23 08:53:38 +0100
committerRemi Collet <fedora@famillecollet.com>2014-02-23 08:53:38 +0100
commit463c2265d861048aac60e3f4fb383d0fdbab0f53 (patch)
tree8093cb8f71a1e5bd924eaeecf403b2fc93dc92c2 /dbus-svn.patch
parent00a558fd6e7df730676dac2329fd186768d6ce0e (diff)
php-pecl-dbus: fix build with php 5.3 (EL-6)
Diffstat (limited to 'dbus-svn.patch')
-rw-r--r--dbus-svn.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dbus-svn.patch b/dbus-svn.patch
index 9e8bd74..40c6d49 100644
--- a/dbus-svn.patch
+++ b/dbus-svn.patch
@@ -206,3 +206,16 @@
return props;
}
+--- pecl/dbus/trunk/dbus.c 2014/02/21 10:51:45 332875
++++ pecl/dbus/trunk/dbus.c 2014/02/23 07:50:34 332876
+@@ -44,6 +44,10 @@
+ # define INIT_OBJ_PROP zend_hash_copy(intern->std.properties, &class_type->default_properties, (copy_ctor_func_t) zval_add_ref, (void *) &tmp, sizeof(zval *));
+ #endif
+
++#ifndef ZEND_MOD_END
++#define ZEND_MOD_END {NULL, NULL, NULL}
++#endif
++
+ /* {{{ arginfo */
+ ZEND_BEGIN_ARG_INFO_EX(arginfo_dbus_object___call, 0, 0, 2)
+ ZEND_ARG_INFO(0, function_name)