dev-lang/crystal: Workaround tty corruption in crystal, bug #616256
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 23 Apr 2017 21:39:02 +0000 (22:39 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 23 Apr 2017 21:39:21 +0000 (22:39 +0100)
commit3cf9beab238c015964bb1c8193d9a4394fce3a21
tree5f6b1dce85756729b21abec4f2874cef40bde989
parentcf49c915e6085e29281a486bd30298c9712af31a
dev-lang/crystal: Workaround tty corruption in crystal, bug #616256

Patch restores blocking mode of file desriptors in exchange
of potential runtime deadlocks when dealing with stdio.

As it's a potentially invasive patch it's not enabled by default
and is available only under USE=blocking-stdio-hack

Reported-by: Renich Bon Ciric
Bug: https://github.com/crystal-lang/crystal/issues/2065
Bug: https://bugs.gentoo.org/616256
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-lang/crystal/crystal-0.22.0.ebuild
dev-lang/crystal/files/crystal-0.22.0-blocking-stdio-hack.patch [new file with mode: 0644]
dev-lang/crystal/metadata.xml