mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:37:35 +00:00
Ports/ncurses: Disable mixed-case directory names when building on macOS
Since macOS's filesystem is case-insensitive, its `tic` only generates terminfo directory names that are hex numbers instead of letters, such as 78/xterm instead of x/xterm. However, the configure script still enables the mixed-case directory name feature by default. As a result, ncurses will fail when trying to find terminfo entries like x/xterm if they are generated on macOS. It seems like there is no way to change the behavior of `tic` to create alphabetical directories, so we can only disable this option explicitly.
This commit is contained in:
parent
0a989d1bfd
commit
dafea57fe2
2 changed files with 46 additions and 0 deletions
|
@ -5,3 +5,17 @@
|
|||
Teach configure about serenity
|
||||
|
||||
|
||||
## `0002-Disable-mixed-case-directory-names-when-building-on-.patch`
|
||||
|
||||
Disable mixed-case directory names when building on macOS
|
||||
|
||||
Since macOS's filesystem is case-insensitive, its `tic` only generates
|
||||
terminfo directory names that are hex numbers instead of letters, such
|
||||
as 78/xterm instead of x/xterm. However, the configure script still
|
||||
enables the mixed-case directory name feature by default. As a result,
|
||||
ncurses will fail when trying to find terminfo entries like x/xterm if
|
||||
they are generated on macOS.
|
||||
|
||||
It seems like there is no way to change the behavior of `tic` to create
|
||||
alphabetical directories, so we can only disable this option explicitly.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue