package/php: fix aarch64 uclibc-ng compile
authorPeter Seiderer <ps.report@gmx.net>
Mon, 9 Mar 2020 14:50:38 +0000 (15:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 22 Mar 2020 21:31:54 +0000 (22:31 +0100)
commit16e0bf6b9f9f681df8619c12e9504dc00fc28410
treeabebc78fe1b48b8bc66d4f11f03c85b10750331f
parent3817f0e87b96add0d0c63932dce0f0dd395849cb
package/php: fix aarch64 uclibc-ng compile

The aarch64 compile uses the sys/auxv.h header which is not
provided by ulcibc-ng. Add configure.ac patch to check for
the header before using it in ext/standard/crc32.c.

Fixes:

  https://bugs.busybox.net/show_bug.cgi?id=12626

  build/php-7.4.3/ext/standard/crc32.c:26:12: schwerwiegender Fehler: sys/auxv.h: Datei oder Verzeichnis nicht gefunden

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/0005-Check-for-sys-auxv.h-before-using-it.patch [new file with mode: 0644]