fatrace: fix not working on non-x86 kernels

Removes the use of a kernel-side flag (O_LARGEFILE) that is different
from the hardcoded value for basically all non-x86 kernels
This commit is contained in:
Dorian Wouters 2018-01-01 12:42:41 +01:00 committed by Leаh Neukirchen
parent 1683e23417
commit 01e5f8892c

View File

@ -1,7 +1,7 @@
# Template file for 'fatrace'
pkgname=fatrace
version=0.12
revision=1
revision=2
build_style=gnu-makefile
short_desc="Report system wide file access events"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
@ -12,4 +12,5 @@ checksum=50e71706f2cad4efc37c23bd292a2d3aa53dd883506e910267b2eeb5b241f66b
post_extract() {
sed -i 's/sbin/bin/g' Makefile
sed -i 's/KERNEL_O_LARGEFILE 0200000/KERNEL_O_LARGEFILE 0/g' fatrace.c
}