From 0ee163002d4bd4ac81e4aa70b790edaa236762f5 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 11 May 2015 16:31:54 +0200 Subject: [PATCH] fatrace: fix build on musl. --- srcpkgs/fatrace/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/fatrace/template b/srcpkgs/fatrace/template index 988376e12d6..8963d1a7c7a 100644 --- a/srcpkgs/fatrace/template +++ b/srcpkgs/fatrace/template @@ -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 " license="GPL-3" @@ -12,4 +13,6 @@ checksum=2afb6ed0f69abe51f290515398216e2cb3201f5362a3f0afe7e6b8a797d80c60 post_extract() { sed -i 's/sbin/bin/g' Makefile + sed -i '//a#include ' fatrace.c + sed -i '//a#include ' fatrace.c }