diff options
author | Milan P. Stanić <mps@arvanta.net> | 2019-05-13 18:10:37 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2019-05-13 22:17:16 +0200 |
commit | b8d47cee2d5e792741b323a4563e78e43120c810 (patch) | |
tree | e9114e98430baf671715ac1aca22d9dfdff3497c /community/crystal | |
parent | 84574037322b7f78cdcc0b7f8944e7f65fa580df (diff) | |
download | aports-b8d47cee2d5e792741b323a4563e78e43120c810.tar.bz2 aports-b8d47cee2d5e792741b323a4563e78e43120c810.tar.xz |
community/crystal: add fix to build with changes in llvm5
Diffstat (limited to 'community/crystal')
-rw-r--r-- | community/crystal/APKBUILD | 6 | ||||
-rw-r--r-- | community/crystal/fix-llmv5-version.patch | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/community/crystal/APKBUILD b/community/crystal/APKBUILD index eb9a813219..2f580821cc 100644 --- a/community/crystal/APKBUILD +++ b/community/crystal/APKBUILD @@ -3,7 +3,7 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=crystal pkgver=0.28.0 -pkgrel=0 +pkgrel=1 _bootver=0.27.2 _llvmver=5 pkgdesc="The Crystal Programming Language" @@ -22,6 +22,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/crystal-lang/$pkgname/archiv https://dev.alpinelinux.org/archive/crystal/crystal-$_bootver-aarch64-alpine-linux-musl.tar.gz disable-specs-using-GB2312-encoding.patch fix-spec-std-kernel-spec.cr.patch + fix-llmv5-version.patch " builddir="$srcdir/$pkgname-$pkgver" @@ -122,4 +123,5 @@ sha512sums="ea0d0938fa90db1b8e395e1daf777c36be5366046c1df7764409e14cf490b4e5f502 19b733fcb2508f2f708b12daf47cb6919085602fae396561a72ec5ec4cec1a4e008aa951385b3fe51f27ff7b2b4fc0afd4d0ddae41467294b7a7b335c246fe47 crystal-0.27.2-x86_64-alpine-linux-musl.tar.gz 449399d213896b15cea818ae2ae649a0b7194aab9daab105a876145974e6b61868a8da0c8a607614e931969943f09d640796c6f71f1d1ce8bf47973dccaf6447 crystal-0.27.2-aarch64-alpine-linux-musl.tar.gz 269976fbc990dde075769e651c9fac6e7e0b39681e55cbd067c6d2a790c58a096bdc9981f62ae69b5217623025ba768daa63bc5316bd8ddd18192d88839aedcb disable-specs-using-GB2312-encoding.patch -ee1d81b40a9b15b2abfecbc61a1ef830700cc5613f9d2626722e8393633ed5d40329ac1fc2813b08b66c689876d3bd8a9f949a22beeda572ea3d4753f58417a8 fix-spec-std-kernel-spec.cr.patch" +ee1d81b40a9b15b2abfecbc61a1ef830700cc5613f9d2626722e8393633ed5d40329ac1fc2813b08b66c689876d3bd8a9f949a22beeda572ea3d4753f58417a8 fix-spec-std-kernel-spec.cr.patch +9ea84621c4348e9ca746b043186b99b59dbbe7ef3530b5b51394c799debe1db5df20c06bc647e97741ae18010344bf10be2bb3db25071b03c04a066124ec00d4 fix-llmv5-version.patch" diff --git a/community/crystal/fix-llmv5-version.patch b/community/crystal/fix-llmv5-version.patch new file mode 100644 index 0000000000..511e9718b7 --- /dev/null +++ b/community/crystal/fix-llmv5-version.patch @@ -0,0 +1,11 @@ +--- a/src/llvm/lib_llvm.cr ++++ b/src/llvm/lib_llvm.cr +@@ -5,7 +5,7 @@ + command -v llvm-config-6.0 || command -v llvm-config60 || \ + (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 6.0*) command -v llvm-config;; *) false;; esac)) || \ + command -v llvm-config-5.0 || command -v llvm-config50 || \ +- (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 5.0*) command -v llvm-config;; *) false;; esac)) || \ ++ (command -v llvm5-config > /dev/null && (case "$(llvm5-config --version)" in 5.0*) command -v llvm5-config;; *) false;; esac)) || \ + command -v llvm-config-4.0 || command -v llvm-config40 || \ + (command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 4.0*) command -v llvm-config;; *) false;; esac)) || \ + command -v llvm-config-3.9 || command -v llvm-config39 || \ |