[arch-commits] Commit in crystal/trunk (PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Mon Oct 21 18:30:41 UTC 2019


    Date: Monday, October 21, 2019 @ 18:30:41
  Author: anatolik
Revision: 518119

LLVM9 rebuild

Pulling upstream fix from https://github.com/crystal-lang/crystal/issues/8294 

Modified:
  crystal/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-21 18:14:57 UTC (rev 518118)
+++ PKGBUILD	2019-10-21 18:30:41 UTC (rev 518119)
@@ -3,24 +3,26 @@
 
 pkgname=crystal
 pkgver=0.31.1
-pkgrel=3
+pkgrel=4
 pkgdesc='The Crystal Programming Language'
 arch=(x86_64)
 url='https://crystal-lang.org'
 license=(Apache)
-depends=(gc libatomic_ops pcre libevent llvm7-libs)
-# TODO switch llvm7->llvm9 when https://github.com/crystal-lang/crystal/issues/8294 is fixed
-makedepends=(libxml2 llvm7 crystal) # to compile version N we need crystal compiler of N-1 version
+depends=(gc libatomic_ops pcre libevent llvm-libs)
+makedepends=(libxml2 llvm crystal) # to compile version N we need crystal compiler of N-1 version
 checkdepends=(libyaml libxml2 gmp inetutils git)
 optdepends=('shards: crystal language package manager'
             'libyaml: For YAML support'
             'gmp: For BigInt support'
             'libxml2: For XML support')
-source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz)
-sha256sums=('b4a51164763b891572492e2445d3a69b462675184ea0ccf06fcc57a070f07b80')
+source=(crystal-$pkgver.tar.gz::https://github.com/crystal-lang/crystal/archive/$pkgver.tar.gz
+        llvm9.patch::https://github.com/crystal-lang/crystal/commit/200b76e46710fc928fd36e95cea60cf2991f3c5f.patch)
+sha256sums=('b4a51164763b891572492e2445d3a69b462675184ea0ccf06fcc57a070f07b80'
+            '00c2d6ee1bdfb4d84bcbd1c2f9e62e0bd7136edfb6a3c3096a5de5e7295f8c15')
 
 prepare() {
   cd $pkgname-$pkgver
+  patch -p1 < ../llvm9.patch
 }
 
 build() {



More information about the arch-commits mailing list