serenity/Ports/php/patches
2023-10-12 23:30:22 +02:00
..
0001-Build-Disable-pharcmd.patch Ports/php: Update php to version 8.2.10 2023-10-12 23:30:22 +02:00
0002-Build-Force-inet_aton-detection.patch Ports/php: Update php to version 8.2.10 2023-10-12 23:30:22 +02:00
0003-Build-Patch-Serenity-root-directory-into-libtool.patch Ports: Support Serenity install root in PHP's libtool 2022-10-21 14:31:32 +02:00
ReadMe.md Ports: Support Serenity install root in PHP's libtool 2022-10-21 14:31:32 +02:00

Patches for php on SerenityOS

0001-Build-Disable-pharcmd.patch

Build: 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.patch

Build: 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-Serenity-root-directory-into-libtool.patch

Build: Patch Serenity root directory into libtool

PHP's libtool does not have sysroot support; this is the minimum change to get PHP to build.