]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
php: fix emalloc/efree/estrdup/... undefined references
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Apr 2018 21:06:22 +0000 (23:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 9 Apr 2018 09:23:44 +0000 (11:23 +0200)
commitfc4b66dbc1b71e871129ce14b289fcda6eb3ea10
treea2950c3b3c02e1ff59b98019266215020264da0d
parentb07245e5b748f73d17b2d612148f792f5d248106
php: fix emalloc/efree/estrdup/... undefined references

zend_alloc.h defines some macros such as:

Where _estrdup is the actual function implemented by the PHP core. If
this header file is not included, and some code uses estrdup, one ends
up with an undefined reference. This happens when libexpat support is
enabled. This commit adds a PHP patch that fixes this issue. The patch
has been submitted upstream through a Github pull request.

Fixes:

  http://autobuild.buildroot.net/results/889d2c1f509c035cd506e36061939bfddc8f1500/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/0009-ext-xml-expat_compat.h-add-missing-php.h-include.patch [new file with mode: 0644]