From 8e1d1318bfeac474a92f9cb8fb1d88d8ba9a5357 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 9 Jun 2019 20:54:42 +0200 Subject: [PATCH] cross-powerpc64-linux-musl: add musl backport patches [ci skip] --- .../files/ppc64-vrregset-t-fix-layout.patch | 1 + .../files/ppc64-vrregset-t-vrregs-fix.patch | 1 + srcpkgs/cross-powerpc64-linux-musl/template | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/cross-powerpc64-linux-musl/files/ppc64-vrregset-t-fix-layout.patch create mode 120000 srcpkgs/cross-powerpc64-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch diff --git a/srcpkgs/cross-powerpc64-linux-musl/files/ppc64-vrregset-t-fix-layout.patch b/srcpkgs/cross-powerpc64-linux-musl/files/ppc64-vrregset-t-fix-layout.patch new file mode 120000 index 00000000000..07c710a2072 --- /dev/null +++ b/srcpkgs/cross-powerpc64-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-powerpc64-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch b/srcpkgs/cross-powerpc64-linux-musl/files/ppc64-vrregset-t-vrregs-fix.patch new file mode 120000 index 00000000000..ccc5c0ef175 --- /dev/null +++ b/srcpkgs/cross-powerpc64-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-powerpc64-linux-musl/template b/srcpkgs/cross-powerpc64-linux-musl/template index c672e92f02e..71b9c0d1499 100644 --- a/srcpkgs/cross-powerpc64-linux-musl/template +++ b/srcpkgs/cross-powerpc64-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 powerpc64 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" \