summaryrefslogtreecommitdiffstats
path: root/zmq-build.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-02-01 08:45:59 +0100
committerRemi Collet <fedora@famillecollet.com>2016-02-01 08:45:59 +0100
commit16269001f6e11e002be17a0575432b862d48d515 (patch)
tree4f31b22b2eb16da4b0082d36a378b157b3838398 /zmq-build.patch
parent5c5faf810ff4c9815e37c8d042276240c816f344 (diff)
php-pecl-zmq: 1.1.3 (beta)
Diffstat (limited to 'zmq-build.patch')
-rw-r--r--zmq-build.patch31
1 files changed, 31 insertions, 0 deletions
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 <remi@famillecollet.com>
+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