pwnat: fix musl.

This commit is contained in:
Enno Boland 2015-08-21 23:47:02 +02:00
parent 75c34d69a1
commit a864f83ca7
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ checksum=365da981ba1a39d7e3c8427fbcd9e7fcd3dd16cd30ae7e3b0aca50511fd8e1b1
wrksrc="${pkgname}-${_githash}"
build_style=gnu-makefile
do_configure() {
sed -i 's#sys/unistd.h#unistd.h#' $(find -name '*.[ch]')
}
do_install() {
vbin pwnat
}