diff --git a/srcpkgs/thinkfan/template b/srcpkgs/thinkfan/template index f1fc47cb976..54128b82592 100644 --- a/srcpkgs/thinkfan/template +++ b/srcpkgs/thinkfan/template @@ -1,7 +1,7 @@ # Template file for 'thinkfan' pkgname=thinkfan version=0.9.2 -revision=3 +revision=4 wrksrc=${pkgname}-${version} create_wrksrc=yes build_style=cmake @@ -16,7 +16,7 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79 post_extract() { - sed -i '1i#include ' globaldefs.h + sed -i '/time.h/i#include ' globaldefs.h } do_install() { vbin build/thinkfan