From 102424724e96cc06f248582502f34b2b878eb212 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 25 Dec 2020 06:52:30 +0100 Subject: update to 4.1.2 --- rdkafka-php8.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'rdkafka-php8.patch') diff --git a/rdkafka-php8.patch b/rdkafka-php8.patch index 4199489..a574191 100644 --- a/rdkafka-php8.patch +++ b/rdkafka-php8.patch @@ -1672,7 +1672,7 @@ index 71ad2f3..d44b895 100644 +void create_kafka_error(zval *return_value, const rd_kafka_error_t *error); #endif diff --git a/message.c b/message.c -index f3911f9..f4c4c7f 100644 +index d8b7dc3..f4c4c7f 100644 --- a/message.c +++ b/message.c @@ -32,7 +32,7 @@ @@ -1684,8 +1684,12 @@ index f3911f9..f4c4c7f 100644 { object_init_ex(return_value, ce_kafka_message); -@@ -51,21 +51,21 @@ void kafka_message_new(zval *return_value, const rd_kafka_message_t *message TSR - uint i; +@@ -48,24 +48,24 @@ void kafka_message_new(zval *return_value, const rd_kafka_message_t *message TSR + const void *header_value = NULL; + size_t header_size = 0; + zval headers_array; +- size_t i; ++ uint i; #endif /* HAVE_RD_KAFKA_MESSAGE_HEADERS */ - zend_update_property_long(NULL, return_value, ZEND_STRL("err"), message->err TSRMLS_CC); @@ -2915,7 +2919,7 @@ index 128fec0..677203d 100644 +void kafka_metadata_topic_minit(INIT_FUNC_ARGS); +void kafka_metadata_topic_ctor(zval *return_value, zval *zmetadata, const void *metadata_topic); diff --git a/php_rdkafka.h b/php_rdkafka.h -index 4188749..19bef56 100644 +index e007877..19bef56 100644 --- a/php_rdkafka.h +++ b/php_rdkafka.h @@ -22,7 +22,6 @@ -- cgit