aboutsummaryrefslogtreecommitdiffstats
path: root/main/clang/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-10-23 06:12:50 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-12 15:24:08 +0000
commit25c73ae7b95bdb42ae5f0ceac3b703e766582527 (patch)
tree9a805d6b931406e6b5138f13c7ba48757123aead /main/clang/APKBUILD
parent57eabb486f30b5697cab13e79e2782e14e7731ab (diff)
downloadaports-25c73ae7b95bdb42ae5f0ceac3b703e766582527.tar.gz
aports-25c73ae7b95bdb42ae5f0ceac3b703e766582527.tar.bz2
aports-25c73ae7b95bdb42ae5f0ceac3b703e766582527.tar.xz
main/clang: switch to python3 for clang-analyzer
Diffstat (limited to 'main/clang/APKBUILD')
-rw-r--r--main/clang/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD
index bbabdb5971..125f273be8 100644
--- a/main/clang/APKBUILD
+++ b/main/clang/APKBUILD
@@ -4,7 +4,7 @@
pkgname=clang
# Note: Update together with llvm.
pkgver=9.0.0
-pkgrel=0
+pkgrel=1
_llvmver=${pkgver%%.*}
pkgdesc="A C language family front-end for LLVM"
arch="all"
@@ -30,7 +30,9 @@ subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs
$pkgname-analyzer::noarch"
source="https://releases.llvm.org/$pkgver/cfe-$pkgver.src.tar.xz
10-add-musl-triples.patch
- 20-Enable-stack-protector-by-default-for-Alpine-Linux.patch"
+ 20-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+ 30-fix-python-shebangs.patch
+ "
builddir="$srcdir/cfe-$pkgver.src"
@@ -83,7 +85,7 @@ static() {
analyzer() {
pkgdesc="Clang source code analysis framework"
- depends="$pkgname=$pkgver-r$pkgrel perl python2"
+ depends="$pkgname=$pkgver-r$pkgrel perl python3"
cd "$pkgdir"
@@ -97,4 +99,5 @@ analyzer() {
sha512sums="83fcca5499102b375e620cdac97d75e6111ebed4ef10240859ddd8a88bc5b022703739d2eae0d8693c91892ad11fc6b531c0dbee62fbce68d3be595b94f0b1fe cfe-9.0.0.src.tar.xz
367dcd43b42570b5688c4bb41daf2498447e9fa4384896e2b91782017a8ce15b1e6e15cb3a465595d69e681420fce170a6f9a57ea5268e21f0dec7d4605e4c4c 10-add-musl-triples.patch
-a8557c5a26774bf98548b9fe77cd54a1b0591bc75beffcb5fbd070986ba954d82255dddbcfcc884c07c3f433b1428c2a6ce649c3a158f4352f30e7057872335b 20-Enable-stack-protector-by-default-for-Alpine-Linux.patch"
+a8557c5a26774bf98548b9fe77cd54a1b0591bc75beffcb5fbd070986ba954d82255dddbcfcc884c07c3f433b1428c2a6ce649c3a158f4352f30e7057872335b 20-Enable-stack-protector-by-default-for-Alpine-Linux.patch
+c7f34b425b0dcea9752eeb7ff3d3a33af9cc45740fd3e77d52e4d610c5fd3daaa4d59138a255b057ef886915615a77ec1e6a447f3818b4b2724129c0ba354932 30-fix-python-shebangs.patch"