e4733f3504
Previously we patched sys/wait.h to add it, but patch was removed in
commit 3879280345
("ndk-patches: remove wait3 patch from
sys/wait.h") since busybox (for which the patch was added) no longer
needs it.
Let's patch the packages that actually needs this instead of
ndk-headers, to keep track of which packages that need it.
Fixes https://github.com/termux/termux-packages/issues/9257.
17 lines
658 B
Bash
17 lines
658 B
Bash
TERMUX_PKG_HOMEPAGE=http://gondor.apana.org.au/~herbert/dash/
|
|
TERMUX_PKG_DESCRIPTION="Small POSIX-compliant implementation of /bin/sh"
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.5.11.5
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=http://gondor.apana.org.au/~herbert/dash/files/dash-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=db778110891f7937985f29bf23410fe1c5d669502760f584e54e0e7b29e123bd
|
|
TERMUX_PKG_ESSENTIAL=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-static"
|
|
|
|
termux_step_post_make_install() {
|
|
# Symlink sh -> dash
|
|
ln -sfr $TERMUX_PREFIX/bin/{dash,sh}
|
|
ln -sfr $TERMUX_PREFIX/share/man/man1/{dash,sh}.1
|
|
}
|