mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 05:44:17 +08:00
Fish builds and runs! The patch is refreshingly simple: * mount.h is disabled because we don't have it. * A recent revision of libc is needed for Redox constants. Types changed a bit between releases, so some casts had to be removed or added. * We don't have pselect, so I had to hack around it by mimicking how it works. Unfortunately, running programs or commands hangs unless part of a pipeline. So, `ls` hangs but `ls &` works. It seems like a waitpid issue rather a fork/exec issue.
18 lines
446 B
TOML
18 lines
446 B
TOML
# WIP: Builds, runs, but hangs on waitpid
|
|
|
|
[source]
|
|
git = "https://github.com/fish-shell/fish-shell"
|
|
rev = "54e8ad7e90a8213c01ba58de0640223bee6846d6"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = ["gettext", "ncurses", "pcre"]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
|
|
# The only default enabled feature is building the man pages.
|
|
# However, that requires sphinx so it can just be enabled later.
|
|
cookbook_cargo --no-default-features
|
|
"""
|