Subject: [alpine-aports] [PATCH] community/llvm-libunwind: fix source URL, list archs explicitly

From: alpine-mips-patches <[email-masked]>
Date: Wed, 9 Jan 2019 05:31:46 +0000

Use source URL as listed at
http://releases.llvm.org/download.html#5.0.2

Explicit list in arch= is still shorter than excluding all mips variants.

Only libunwind-6 has soft-float mips and hard-float mips support is not
available until libunwind-7.

---
 community/llvm-libunwind/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/llvm-libunwind/APKBUILD b/community/llvm-libunwind/APKBUILD
index f80b658f81..ca6e01fcd8 100644
--- a/community/llvm-libunwind/APKBUILD
+++ b/community/llvm-libunwind/APKBUILD
@@ -8,12 +8,12 @@ _llvmver=${pkgver%%.*}
 pkgrel=0
 pkgdesc="LLVM version of libunwind library"
 url="http://llvm.org/"
-arch="all !s390x"
+arch="aarch64 armhf armv7 ppc64le x86 x86_64"
 license="BSD"
 depends_dev="!libunwind-dev"
 makedepends="cmake llvm$_llvmver-dev"
 subpackages="$pkgname-dev"
-source="https://www.llvm.org/releases/$pkgver/$_pkgname-$pkgver.src.tar.xz
+source="https://releases.llvm.org/$pkgver/$_pkgname-$pkgver.src.tar.xz
 	ppc64le-support.patch"
 builddir="$srcdir/$_pkgname-$pkgver.src"
 options="!check"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---