diff --git a/srcpkgs/clens/template b/srcpkgs/clens/template index cc4c14a146..52f1cd69ff 100644 --- a/srcpkgs/clens/template +++ b/srcpkgs/clens/template @@ -1,7 +1,7 @@ # Template file for 'clens' pkgname=clens version=0.7.0 -revision=1 +revision=2 makedepends="libbsd-devel" short_desc="Convenience library to aid in porting code from OpenBSD" maintainer="Juan RP " @@ -11,6 +11,8 @@ distfiles="https://opensource.conformal.com/snapshots/clens/clens-${version}.tar checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267 do_build() { + sed -i 's,-Werror,,g' GNUmakefile + sed -i 's,u_char,unsigned char,g;s,u_int32_t,uint32_t,g;s,u_int,unsigned int,g;s,u_short,unsigned short,g' src/*.[ch] mkdir -p obj make ${makejobs} CC=$CC LOCALBASE=/usr }