From 74dd4787e3af917a00bca8690ff83fa565157f13 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 10 Jun 2012 07:06:04 +0200 Subject: repo reorg --- amqp-php54.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 amqp-php54.patch (limited to 'amqp-php54.patch') diff --git a/amqp-php54.patch b/amqp-php54.patch new file mode 100644 index 0000000..322cc34 --- /dev/null +++ b/amqp-php54.patch @@ -0,0 +1,21 @@ +diff -up amqp-1.0.1/amqp_connection.c.php54 amqp-1.0.1/amqp_connection.c +--- amqp-1.0.1/amqp_connection.c.php54 2012-03-10 09:08:22.807066125 +0100 ++++ amqp-1.0.1/amqp_connection.c 2012-03-10 09:09:12.428067313 +0100 +@@ -512,7 +512,7 @@ PHP_METHOD(amqp_connection_class, pconne + amqp_connection_object *connection; + char *key; + int key_len; +- list_entry *le, new_le; ++ zend_rsrc_list_entry *le, new_le; + + /* Try to pull amqp object out of method params */ + if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O", &id, amqp_connection_class_entry) == FAILURE) { +@@ -545,7 +545,7 @@ PHP_METHOD(amqp_connection_class, pconne + /* Store a reference in the persistence list */ + new_le.ptr = connection->connection_resource; + new_le.type = le_amqp_connection_resource; +- zend_hash_add(&EG(persistent_list), key, key_len + 1, &new_le, sizeof(list_entry), NULL); ++ zend_hash_add(&EG(persistent_list), key, key_len + 1, &new_le, sizeof(zend_rsrc_list_entry), NULL); + + /* Cleanup our key */ + efree(key); -- cgit