patch: fix bootstrap on x86_64-musl
with or without musl-legacy-compat installed.
This commit is contained in:
parent
c73bc73be2
commit
4e2f1e1493
1 changed files with 5 additions and 0 deletions
|
@ -12,3 +12,8 @@ homepage="http://www.gnu.org/software/patch/patch.html"
|
|||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
|
||||
checksum=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
|
||||
patch_args="-Np1"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
export ac_cv_lib_error_at_line=no
|
||||
export ac_cv_header_sys_cdefs_h=no
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue