From c1ca4cb58c0f52a25f70ce362bb1d2d9cd2a185e Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 9 Jun 2021 05:15:07 +0200 Subject: [PATCH] diffutils: fix musl bootstrap under some conditions --- srcpkgs/diffutils/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/diffutils/template b/srcpkgs/diffutils/template index d07aac1ad2..80186106e7 100644 --- a/srcpkgs/diffutils/template +++ b/srcpkgs/diffutils/template @@ -13,6 +13,11 @@ homepage="https://www.gnu.org/software/diffutils" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26 +if [ "$XBPS_TARGET_LIBC" = musl ]; then + export ac_cv_lib_error_at_line=no + export ac_cv_header_sys_cdefs_h=no +fi + if [ "$CROSS_BUILD" ]; then # Tell configure we have GNU getopt configure_args+=" gl_cv_func_getopt_gnu=yes"