From 303cea2438c3d4b5771bb57acd77f61d6bd3c177 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 17 May 2015 16:10:44 +0200 Subject: [PATCH] thinkfan: fix for musl. --- srcpkgs/thinkfan/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/thinkfan/template b/srcpkgs/thinkfan/template index f2cc16a6c2d..f1fc47cb976 100644 --- a/srcpkgs/thinkfan/template +++ b/srcpkgs/thinkfan/template @@ -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 ' globaldefs.h +} do_install() { vbin build/thinkfan vman thinkfan.1