diff --git a/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-fix-layout.patch b/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-fix-layout.patch new file mode 120000 index 00000000000..07c710a2072 --- /dev/null +++ b/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-fix-layout.patch @@ -0,0 +1 @@ +../../musl/patches/ppc64-vrregset-t-fix-layout.patch \ No newline at end of file diff --git a/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch b/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch new file mode 120000 index 00000000000..ccc5c0ef175 --- /dev/null +++ b/srcpkgs/cross-powerpc64le-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch @@ -0,0 +1 @@ +../../musl/patches/ppc64-vrregset-t-vrregs-fix.patch \ No newline at end of file diff --git a/srcpkgs/cross-powerpc64le-linux-musl/template b/srcpkgs/cross-powerpc64le-linux-musl/template index 03e91752e9f..8bb44d51b1f 100644 --- a/srcpkgs/cross-powerpc64le-linux-musl/template +++ b/srcpkgs/cross-powerpc64le-linux-musl/template @@ -9,7 +9,7 @@ _sysroot="/usr/${_triplet}" pkgname=cross-${_triplet} version=0.30 -revision=4 +revision=5 short_desc="Cross toolchain for powerpc64le with musl" maintainer="q66 " homepage="https://www.voidlinux.org/" @@ -149,6 +149,10 @@ _musl_build() { [ -f ${wrksrc}/.musl_build_done ] && return 0 cd ${wrksrc}/musl-${_musl_version} + + _apply_patch -p0 ${FILESDIR}/ppc64-vrregset-t-fix-layout.patch + _apply_patch -p0 ${FILESDIR}/ppc64-vrregset-t-vrregs-fix.patch + msg_normal "Building cross musl libc\n" CC="${_triplet}-gcc" LD="${_triplet}-ld" AR="${_triplet}-ar" \