From bc2d3a7cb7c3952daa87f931af8297e21fcb8b50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 24 Jul 2020 12:52:48 +0200 Subject: [PATCH] clens: needs musl-legacy-compat for *-musl targets --- srcpkgs/clens/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/clens/template b/srcpkgs/clens/template index 80f96284159..cfa3581f076 100644 --- a/srcpkgs/clens/template +++ b/srcpkgs/clens/template @@ -10,6 +10,10 @@ homepage="https://sourceforge.net/projects/clens/" distfiles="$SOURCEFORGE_SITE/clens/clens-${version}.tar.gz" checksum=064ac9954d38633e2cff6b696fd049dedc3e90b79acffbee1a87754bcf604267 +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + 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]