From a864f83ca74a9ea9529d3b7bb62b4f67b6a1b1dc Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 21 Aug 2015 23:47:02 +0200 Subject: [PATCH] pwnat: fix musl. --- srcpkgs/pwnat/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/pwnat/template b/srcpkgs/pwnat/template index d27a40ca188..10e51e613f5 100644 --- a/srcpkgs/pwnat/template +++ b/srcpkgs/pwnat/template @@ -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 }