zerofree: fix musl build

This commit is contained in:
Michael Gehring 2016-02-16 05:45:17 +01:00
parent fcd8af007a
commit ed7dc138cd

View file

@ -11,6 +11,10 @@ homepage="https://frippery.org/uml/index.html"
distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz" distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz"
checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838 checksum=a7f9e293961eb653df55cf54774f2036924f31019814ead5554c393eecae6838
post_extract() {
sed -i "16i#include <sys/stat.h>" zerofree.c
}
do_install() { do_install() {
vbin $pkgname vbin $pkgname
} }