From 04923b28694bbfe76d3685c82e4d2f2aa1517a50 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 28 Oct 2019 00:11:15 +0100 Subject: [PATCH] bind: disable catgets on musl --- srcpkgs/bind/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index d9dbd327368..9e4ec3ebe45 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -2,7 +2,7 @@ pkgname=bind reverts="9.13.6_1" version=9.11.11 -revision=1 +revision=2 _fullver="${version}${_patchver:+-${_patchver}}" wrksrc="${pkgname}-${_fullver}" build_style=gnu-configure @@ -36,6 +36,14 @@ case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) build_options_default+=" seccomp";; esac +pre_configure() { + # various bind-utils segfault with musl-1.1.24 in catgets + # TODO: actually fix instead of disabling it + case "$XBPS_TARGET_MACHINE" in + *-musl) vsed -e 's/#define HAVE_CATGETS 1//g' -i configure + esac +} + do_check() { # requires special network setup :