1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:55:09 +00:00
serenity/Ports/php/patches/ReadMe.md
Jelle Raaijmakers e70e4c132b Ports: Support Serenity install root in PHP's libtool
PHP's libtool does not have sysroot support; this is the minimum change
to get PHP to build.
2022-10-21 14:31:32 +02:00

24 lines
642 B
Markdown

# 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.