diff --git a/srcpkgs/watchman/template b/srcpkgs/watchman/template index 0b329ccdd66..0c914dad7d4 100644 --- a/srcpkgs/watchman/template +++ b/srcpkgs/watchman/template @@ -1,7 +1,7 @@ # Template file for 'watchman' pkgname=watchman version=3.3.0 -revision=1 +revision=2 build_pie=yes build_style=gnu-configure hostmakedepends="automake libtool" @@ -14,5 +14,6 @@ distfiles="https://github.com/facebook/watchman/archive/v${version}.tar.gz" checksum=c8bd6b496f5d86b13c91368bf3b01346282f565c8af4f8e2f7bb6b74a48c4793 pre_configure() { + sed -i 's,sys/poll.h,poll.h,g' *.[ch] NOCONFIGURE=1 ./autogen.sh }