0001-Build-Disable-pharcmd.patchBuild: Disable pharcmd
We do not support running the PHP binary locally after its build, so do not try to run phar locally.
0002-Build-Force-inet_aton-detection.patchBuild: Force inet_aton detection
For a reason unknown to me, the build system fails to find inet_aton and tries to redefine it with its own implementation in flock_compat.c.
0003-Build-Patch-Minerva-root-directory-into-libtool.patchBuild: Patch Minerva root directory into libtool
PHP's libtool does not have sysroot support; this is the minimum change to get PHP to build.