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:
parent
f8984146bd
commit
a1f19b7a98
4 changed files with 71 additions and 0 deletions
14
Ports/joe/patches/ReadMe.md
Normal file
14
Ports/joe/patches/ReadMe.md
Normal 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`.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue