fatrace: fix build on musl.
This commit is contained in:
parent
95235e1e39
commit
0ee163002d
1 changed files with 4 additions and 1 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'fatrace'
|
||||
pkgname=fatrace
|
||||
version=0.10
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
CFLAGS='-D_GNU_SOURCE'
|
||||
short_desc="Report system wide file access events"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="GPL-3"
|
||||
|
@ -12,4 +13,6 @@ checksum=2afb6ed0f69abe51f290515398216e2cb3201f5362a3f0afe7e6b8a797d80c60
|
|||
|
||||
post_extract() {
|
||||
sed -i 's/sbin/bin/g' Makefile
|
||||
sed -i '/<stdlib.h>/a#include <stdint.h>' fatrace.c
|
||||
sed -i '/<sys\/stat.h>/a#include <sys\/types.h>' fatrace.c
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue