From 81521c9c97d1f5314b227039b1fd18538159a457 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Tue, 25 Aug 2015 15:56:04 +0200 Subject: [PATCH] sysstat: fixes for musl. --- srcpkgs/sysstat/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sysstat/template b/srcpkgs/sysstat/template index f0970148e0d..a89fdc67c8a 100644 --- a/srcpkgs/sysstat/template +++ b/srcpkgs/sysstat/template @@ -1,7 +1,7 @@ # Template file for 'sysstat' pkgname=sysstat version=11.1.6 -revision=1 +revision=2 build_pie=yes build_style=gnu-configure configure_args="--enable-install-isag --enable-copy-only --disable-file-attr @@ -20,6 +20,9 @@ checksum=48ee6962d51aed6d652b204d69e3bcf3a8817933f4163ab17d89adf8a78421a4 post_extract() { echo '#include ' >>common.h echo '#include ' >>common.h + sed -i 's///' tapestat.c + sed -i '1i#include ' tapestat.c + sed -i '1i#include ' tapestat.c sed -i 's/lib64/lib/' configure sed -i '/LFLAGS =/d; s/LFLAGS/LDFLAGS/g' Makefile.in }