diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-22 01:49:17 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-22 02:45:59 +0200 |
commit | c428bb604472b3d18095628bc9b04583a167322a (patch) | |
tree | b6cecfcfd833e2697f44068f560ee53538a0306c /testing/creduce/APKBUILD | |
parent | a28524eedcd543a5659324a49e3e024101f834bc (diff) | |
download | aports-c428bb604472b3d18095628bc9b04583a167322a.tar.bz2 aports-c428bb604472b3d18095628bc9b04583a167322a.tar.xz |
testing/creduce: rebuild against llvm/clang 4.0.0
Diffstat (limited to 'testing/creduce/APKBUILD')
-rw-r--r-- | testing/creduce/APKBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/testing/creduce/APKBUILD b/testing/creduce/APKBUILD index 37bef7bad3..5eccf8f75b 100644 --- a/testing/creduce/APKBUILD +++ b/testing/creduce/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=creduce pkgver=2.6.0 -pkgrel=0 +pkgrel=1 pkgdesc="A C/C++ program reducer" url="http://embed.cs.utah.edu/creduce/" arch="all" @@ -11,19 +11,20 @@ license="custom" depends="clang indent perl perl-exporter-lite perl-file-which perl-getopt-tabular perl-regexp-common perl-sys-cpu perl-term-readkey util-linux" -makedepends="clang-dev>=3.8.0 flex llvm-dev>=3.8.0 zlib-dev" -source="http://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz" +makedepends="clang-dev clang-static flex llvm-dev zlib-dev" +source="http://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz + namespace-qualify-clang-StringLiteral.patch + fix-crash-due-to-overwriting-same-location.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - ./configure \ + CC=clang CXX=clang++ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ - --libexecdir=/usr/lib/$pkgname \ - || return 1 + --libexecdir=/usr/lib/$pkgname make } @@ -32,4 +33,6 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="e2a08127d2aea29b6934792eff4ff0d9f10952ca520671c60ef4b24a48522b19c48336d4b9d0b8e8c633dd8832b2a56d3d0daa311478e474e974c60a0ae381f1 creduce-2.6.0.tar.gz" +sha512sums="e2a08127d2aea29b6934792eff4ff0d9f10952ca520671c60ef4b24a48522b19c48336d4b9d0b8e8c633dd8832b2a56d3d0daa311478e474e974c60a0ae381f1 creduce-2.6.0.tar.gz +34b0a4f77b4e6c51130771faf653189822bcd53335db24dfa0d5f772315cd5c84c24ef2977fb1a2bc431b611cce4efb5c5e6e3d217e6181433a701ffa0ac4d11 namespace-qualify-clang-StringLiteral.patch +02c87a4efaf31e937dea6e0a84ca4e4d3e0cedc1a013db0f0eea929d0e28afd44e5c65f16087f94f7f41222ba7d2f69ce0e4e1c4a51461f71b18130c563444df fix-crash-due-to-overwriting-same-location.patch" |