diff --git a/srcpkgs/elfutils/patches/009-no-fts.patch b/srcpkgs/elfutils/files/009-no-fts.patch similarity index 100% rename from srcpkgs/elfutils/patches/009-no-fts.patch rename to srcpkgs/elfutils/files/009-no-fts.patch diff --git a/srcpkgs/elfutils/template b/srcpkgs/elfutils/template index 1f02688714..571a6bf223 100644 --- a/srcpkgs/elfutils/template +++ b/srcpkgs/elfutils/template @@ -1,7 +1,7 @@ # Template file for 'elfutils' pkgname=elfutils version=0.161 -revision=2 +revision=3 build_style=gnu-configure configure_args="--program-prefix=eu-" hostmakedepends="m4" @@ -21,6 +21,9 @@ esac post_extract() { sed -i '//d' backends/*_initreg.c + case "$XBPS_TARGET_MACHINE" in + *-musl) patch -Np0 <${FILESDIR}/009-no-fts.patch + esac } do_configure() {