sysstat: fixes for musl.

This commit is contained in:
Christian Neukirchen 2015-08-25 15:56:04 +02:00
parent 60a539e0c9
commit 81521c9c97
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'sysstat' # Template file for 'sysstat'
pkgname=sysstat pkgname=sysstat
version=11.1.6 version=11.1.6
revision=1 revision=2
build_pie=yes build_pie=yes
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-install-isag --enable-copy-only --disable-file-attr configure_args="--enable-install-isag --enable-copy-only --disable-file-attr
@ -20,6 +20,9 @@ checksum=48ee6962d51aed6d652b204d69e3bcf3a8817933f4163ab17d89adf8a78421a4
post_extract() { post_extract() {
echo '#include <limits.h>' >>common.h echo '#include <limits.h>' >>common.h
echo '#include <sys/sysmacros.h>' >>common.h echo '#include <sys/sysmacros.h>' >>common.h
sed -i 's/<regexp.h>/<regex.h>/' tapestat.c
sed -i '1i#include <string.h>' tapestat.c
sed -i '1i#include <signal.h>' tapestat.c
sed -i 's/lib64/lib/' configure sed -i 's/lib64/lib/' configure
sed -i '/LFLAGS =/d; s/LFLAGS/LDFLAGS/g' Makefile.in sed -i '/LFLAGS =/d; s/LFLAGS/LDFLAGS/g' Makefile.in
} }