thinkfan: fix for musl.

This commit is contained in:
Christian Neukirchen 2015-05-17 16:10:44 +02:00
parent 305a692f9e
commit 303cea2438
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'thinkfan'
pkgname=thinkfan
version=0.9.2
revision=2
revision=3
wrksrc=${pkgname}-${version}
create_wrksrc=yes
build_style=cmake
@ -15,6 +15,9 @@ homepage="http://thinkfan.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=90daa0f2db221e1d5085d7f25cb6c63608d174db2987478c340e9523e652af79
post_extract() {
sed -i '1i#include <sys/types.h>' globaldefs.h
}
do_install() {
vbin build/thinkfan
vman thinkfan.1