commit:     4254ea8bfbb12e1e2f7b42474bd7130f8e5ff836
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 09:18:11 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 09:18:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4254ea8b

dev-lang/crystal: require boehm-gc[threads] as a depend

With USE=-threads crystal crashes for me outright:
  $ cat a.cr
  puts hello
  $ crystal build a.cr
  Invalid memory access (signal 11) at address 0x0
  [12705341] __crystal_sigfault_handler +61
  [140316947557920] ???
  [0] ???

Package-Manager: portage-2.3.0

 dev-lang/crystal/crystal-0.15.0.ebuild | 2 +-
 dev-lang/crystal/metadata.xml          | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/crystal/crystal-0.15.0.ebuild 
b/dev-lang/crystal/crystal-0.15.0.ebuild
index 4190f0c..bec9c70 100644
--- a/dev-lang/crystal/crystal-0.15.0.ebuild
+++ b/dev-lang/crystal/crystal-0.15.0.ebuild
@@ -24,7 +24,7 @@ IUSE="doc examples +xml +yaml"
 # dev-libs/boehm-gc[static-libs] dependency problem,  check the issue: 
https://github.com/manastech/crystal/issues/1382
 DEPEND="
        <sys-devel/llvm-3.7.0
-       dev-libs/boehm-gc[static-libs]
+       dev-libs/boehm-gc[static-libs,threads]
        dev-libs/libatomic_ops
        dev-libs/libevent
        dev-libs/libpcre

diff --git a/dev-lang/crystal/metadata.xml b/dev-lang/crystal/metadata.xml
index 18faab8..e8be383 100644
--- a/dev-lang/crystal/metadata.xml
+++ b/dev-lang/crystal/metadata.xml
@@ -5,6 +5,10 @@
                <email>[email protected]</email>
                <name>Lixiao Chen</name>
        </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Sergei Trofimovich</name>
+       </maintainer>
        <maintainer type="project">
                <email>[email protected]</email>
                <name>Proxy Maintainers</name>

Reply via email to