1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-31 16:37:47 +00:00

Ports: Update gnuapl's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:38 +04:30 committed by Ali Mohammad Pur
parent 4876a943cd
commit fd388bb239
8 changed files with 113 additions and 44 deletions

View file

@ -1,19 +1,27 @@
# Patches for GNU APL on SerenityOS
# Patches for gnuapl on SerenityOS
## `fix-common-includes.patch`
## `0001-Include-fcntl-find-fcntl.h.patch`
Include fcntl find fcntl.h
`fcntl.h` was included as `sys/fcntl.h`, which is not where this lives in Serenity.
Also `sys/select.h` is included here.
## `stub-performance-macro.patch`
## `0002-Stub-out-the-performance-report-macro.patch`
Stub out the performance report macro
The Macro for performance reporting was throwing compile errors, so we just stub it out.
## `stub-sbrk.patch`
## `0003-Remove-use-of-sbrk.patch`
Remove use of sbrk()
Again, for performance reporting the function `sbrk` is needed which we don't have. We just stub it out.
## `sub-config.patch`
## `0004-Teach-config.sub-about-serenity.patch`
Teach config.sub about serenity
The default change to `config.sub`: Add `serenity` as a valid target.