ksh: fix musl.

This commit is contained in:
Christian Neukirchen 2016-09-16 16:15:41 +02:00
parent 273f1473c5
commit f0693e7135
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ksh'
pkgname=ksh
version=2012.08.01
revision=5
revision=6
_debpkgver=93u+20120801
wrksrc=${pkgname}-${_debpkgver}
register_shell="/bin/ksh"
@ -29,6 +29,7 @@ post_extract() {
sed -i '/off_t/d' src/lib/libast/features/fs
sed -i '/define statvfs/d' src/lib/libast/features/fs
sed -i '/define.*64/d' src/cmd/ksh93/include/shell.h
sed -i '/ifdef RLIM64_INFINITY/,/endif/d' src/cmd/ksh93/features/rlimits
# Don't let <stdio.h> define FILE.
sed -i '/include.*_nxt_wchar/i#define __DEFINED_FILE' \