From 16269001f6e11e002be17a0575432b862d48d515 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Feb 2016 08:45:59 +0100 Subject: php-pecl-zmq: 1.1.3 (beta) --- zmq-build.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 zmq-build.patch (limited to 'zmq-build.patch') diff --git a/zmq-build.patch b/zmq-build.patch new file mode 100644 index 0000000..45cde0b --- /dev/null +++ b/zmq-build.patch @@ -0,0 +1,31 @@ +From 7c961507e24435680e445b90af0a465c98246d4d Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 1 Feb 2016 08:09:46 +0100 +Subject: [PATCH] Fix build with old GCC + +--- + zmq_pollset.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/zmq_pollset.c b/zmq_pollset.c +index 16dbdec..59f8c09 100644 +--- a/zmq_pollset.c ++++ b/zmq_pollset.c +@@ -38,7 +38,7 @@ + + /* {{{ typedef struct _php_zmq_pollset + */ +-typedef struct _php_zmq_pollset { ++struct _php_zmq_pollset { + + zmq_pollitem_t *items; + zend_string **keys; +@@ -49,7 +49,7 @@ typedef struct _php_zmq_pollset { + size_t alloc_size; + + zval errors; +-} php_zmq_pollset; ++}; + /* }}} */ + + static -- cgit