1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 05:07:45 +00:00

Ports: Add joe's own editor

This commit is contained in:
Snow 2022-05-15 11:41:03 +08:00 committed by Andreas Kling
parent f8984146bd
commit a1f19b7a98
4 changed files with 71 additions and 0 deletions

View file

@ -0,0 +1,14 @@
# Patches for joe's own editor
## `joe.patch`
Build a curseless joe's own editor, its only dependency is LibC.
- Add serenity to `config.sub`.
- Some hacks in joe source code to make it work.
- Undefine the macro `TERMINFO` in `termcap.c`, or it will lead crash.
- Define `__USE_MISC` manually in `checkwidths.c` for `ECHOCTL` and `ECHOKE`,
see `Kernel/API/POSIX/termios.h`.
- Remove the prefix `sys/`, because serenity does not have the header `fcntl.h`
in `/usr/include/sys`.