From 4b65869021cac05628330fed6da51cc852ce285d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 25 Jan 2020 15:55:26 +0100 Subject: [PATCH] proot: needs musl-legacy-compat for *-musl targets --- srcpkgs/proot/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/proot/template b/srcpkgs/proot/template index c3812ca5e77..bf03af65a90 100644 --- a/srcpkgs/proot/template +++ b/srcpkgs/proot/template @@ -14,6 +14,10 @@ homepage="https://proot-me.github.io" distfiles="https://github.com/proot-me/PRoot/archive/v${version}.tar.gz" checksum=ce0a3baca8312613bd10f65bb436a3aaa28e1034f498a22c35ad0693600e01dd +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + pre_build() { # Fix glibc ptrace.h specific constants for musl libc cp ${FILESDIR}/ptrace_compat.h .