package/php_zmq: fix build with php 7.3.0
authorFrank Hunleth <fhunleth@troodon-software.com>
Fri, 4 Jan 2019 04:47:16 +0000 (23:47 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 6 Jan 2019 19:59:19 +0000 (20:59 +0100)
commit9ddaba1e03f8702ea3de2298454221e27dabaf70
tree254381cdb152f77dde2d01af2c5b834a5fd92d00
parentebee3fd13964af2fa91f90bf60a94fa5eb0c8e44
package/php_zmq: fix build with php 7.3.0

This includes an patch that fixes the following error:

```
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_context_get':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:238:20: error: lvalue required as left operand of assignment
   GC_REFCOUNT(&le) = 1;
                    ^
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_socket_store':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:538:19: error: lvalue required as left operand of assignment
  GC_REFCOUNT(&le) = 1;
```

The patch was created from the PR at:

https://github.com/mkoppanen/php-zmq/pull/195

Upstream has not merged the PR. Fixes:

http://autobuild.buildroot.org/results/3f2/3f258fbc7352c3d7205bc6402145be1102d69683

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php-zmq/0001-PHP-7.3-compatibility-and-bugfixes.patch [new file with mode: 0644]