diff --git a/srcpkgs/ext4magic/template b/srcpkgs/ext4magic/template index dbd645adb5..ce352cc11d 100644 --- a/srcpkgs/ext4magic/template +++ b/srcpkgs/ext4magic/template @@ -1,7 +1,7 @@ # Template file for 'ext4magic' pkgname=ext4magic version=0.3.2 -revision=1 +revision=2 build_style=gnu-configure configure_args="--enable-expert-mode --enable-file-attr --sbindir=/usr/bin" makedepends="e2fsprogs-devel file-devel zlib-devel bzip2-devel" @@ -11,3 +11,8 @@ license="GPL-2" homepage="http://sourceforge.net/projects/ext4magic/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=8d9c6a594f212aecf4eb5410d277caeaea3adc03d35378257dfd017ef20ea115 + +CFLAGS='-DHAVE_SYS_TYPES_H' +post_extract() { + sed -i '//i#include ' src/lookup_local.c +}