mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 16:55:09 +00:00

PHP's libtool does not have sysroot support; this is the minimum change to get PHP to build.
24 lines
642 B
Markdown
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.
|
|
|