thinkfan: fix build on glibc.
This commit is contained in:
parent
856b911388
commit
7182135e7a
|
@ -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 <sys/types.h>' globaldefs.h
|
||||
sed -i '/time.h/i#include <sys/types.h>' globaldefs.h
|
||||
}
|
||||
do_install() {
|
||||
vbin build/thinkfan
|
||||
|
|
Loading…
Reference in New Issue
Block a user